Malaysia
Credit note
Changes to generic fields
type CreditNote {
// ...all generic credit note fields
issued: string; // ISO 8601 date or date-time
lines: InvoiceLine[];
invoiceRefs: string[];
recipient: CreditNoteRecipient;
customInfo: {
mys: {
placeHolder?: string;
}
}
}
type CreditNoteRecipient {
taxId: string;
name: string;
address: {
state: string;
};
contact: {
phone: string;
email: string;
};
sstRegistrationNumber?: string;
identification: {
type: 'ARMY' | 'BRN' | 'NRIC' | 'Passport';
value: string;
};
customInfo?: StringStringTMap<string | number>;
}
type InvoiceLine {
description: string;
itemCode: string;
quantity?: number;
vat: {
type: 'fixed' | 'percent';
code: TaxCode;
amount: number;
exemptReason?: string;
};
price: {
amount: number;
};
}Field information
| Name | Type | Required | Description |
|---|---|---|---|
issued | string (ISO 8601 date or date-time) | Yes | Issue date of the credit note. A date-only value (e.g. The credit note must be issued later than the invoice it credits. If you credit an invoice on the same day it was issued, include a time (e.g. |
invoiceRefs | string array | Yes | The ref values of the existing invoices this credit note applies to. eezi resolves each one to the invoice's MyInvois UUID. In CSV files, use invoiceRefs.0, invoiceRefs.1, and so on. |
lines | array | Yes | At least one line item is required. total.amount must equal the sum of the line items, including tax. |
lines[].itemCode | string | Yes | Line item code (3 character) as outlined on Malaysia item code list |
lines[].vat.code | string | Yes | A value from an enumerated list of types:
|
lines[].vat.exemptReason | string | Conditional | If the line VAT amount is 0, an exemption reason is required. |
recipient.address.state | string | Yes | When recipient.address.country is Malaysia, a 2 digit state code as outlined on Malaysia state code list is required. |
recipient.contact.phone | string | Yes | Contact number of recipient. |
recipient.contact.email | string | Yes | Email address of the recipient. |
recipient.sstRegistrationNumber | string | No | SST registration number of the recipients that are SST-registered. The input of special characters is not allowed, except for dash (-) and semicolon (;). A maximum of two SST registration numbers is allowed. |
recipient.identification.type | string | Yes | One of the following values (case-sensitive):
|
recipient.identification.value | string | Yes | Identification number based on type |
Example CSV file
Updated 14 days ago
Did this page help you?