Malaysia
Credit note
Changes to generic fields
type CreditNote {
// ...all generic credit note fields
lines: InvoiceLine[];
invoiceRefs: string[],
recipient: CreditNoteRecipient,
customInfo: {
mys: {
placeHolder?: string;
}
}
}
type CreditNoteRecipient {
taxId: string;
name: string;
address: {
state: string;
};
customInfo?: StringStringTMap<string | number>;
contact: {
phone: string;
};
customInfo: {
mys:{
sstRegistrationNumber?: string;
identification: {
type: 'ARMY' | 'BRN' | 'NRIC' | 'Passport',
value: string
}
}
};
}
type InvoiceLine {
description: string;
itemCode: string;
quantity?: number;
vat: {
type: 'fixed' | 'percent';
code: TaxCode;
amount: number;
};
price: {
amount: number;
};
}Field information
Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | When |
| string | Yes | Line item code (3 character) as outlined on Malaysia item code list |
| string | Yes | A value from an enumerated list of types:
|
| string | Conditional | If the line VAT amount is 0, an exemption reason is required. |
| string | Yes | An array of existing invoices |
| string | Yes | Contact number of recipient. |
| 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. |
| string | Yes |
|
| string | Yes | Identification number based on type |
Example CSV file
Updated 23 days ago