Malaysia Invoice and Credit Note Templates

The Malaysia Tax Invoice Template and Malaysia Credit Note Template are included when you install the Southeast Asia Localization SuiteApp. The templates are stored in the Documents > Templates > PDF Templates.

The templates contain FreeMarker placeholder tags for sourcing and displaying required information as well as setting the layout of the transaction document when printed. You can readily apply the templates to invoice and credit note custom forms or edit them according to your preferences.

For more information on customizing templates, see Advanced Templates Customization in the Template Editor.

Note:

When working on custom fields in Malaysia Invoicing PDF/HTML templates and then viewing the Source Code or going to Preview, an error may be encountered. This error may also occur when saving advanced templates. However, you can ignore the error and proceed with saving the template, which will still work despite the error. For more information, see Template Errors When Saving under Saving an Advanced Template.

Applying Malaysia Tax Invoice and Credit Note Templates

The Malaysia Tax Invoice and Credit Note Templates must be applied to custom invoice and credit memo forms.

To apply the Malaysia invoice and credit note templates to custom transaction forms:

  1. Go to Customization > Forms > Transaction Forms.

  2. Click the Customise or Edit link of the custom invoice or credit memo form that you want to apply the templates to.

  3. For Printing Type, choose Advanced.

  4. In the Print Template field, select Malaysia Tax Invoice PDF/HTML Template for an invoice, or Malaysia Credit Note PDF/HTML Template for a credit memo.

  5. Click Save.

Malaysia Tax Invoice PDF/HTML Template

The Malaysia Tax Invoice Template has default tags for sourcing and displaying the following information when printed to PDF or HTML.

Field or Label

Placeholder or Value in Default Template

Description

Required Information by Tax Authority?

Title

“Invoice”

The document type.

Yes

Company Logo

${‌subsidiary.logo}

If you are not using a OneWorld account, the placeholder is <img src="${‌companyInformation.logoUrl}" />

References the image that you want to place as the company logo.

No

Company Name

${‌subsidiary.name}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.companyName}

The name of your company or subsidiary that issued the invoice.

Yes

Company Address

${subsidiary.mainaddress_text}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.addressText}

The address of your company that issued the invoice.

Yes

Company Tel. No.

${‌subsidiary.phone}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.phone}

The telephone number of your company that issued the invoice.

No

Company Email

${‌subsidiary.email}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.email}

The email address of your company that issued the invoice.

No

Company Reg. No.

${subsidiary.custrecord_company_brn}

If you are not using a OneWorld account, the placeholder is ${companyInformation.custrecord_company_ brn}

This is the value entered in the Business Registration Number (BRN) field provided by the Tax Audit Files SuiteApp (if installed).

If the Tax Audit Files SuiteApp is not installed, this field will be blank.

If you have your own custom field for BRN, you can also source it by replacing the placeholder.

Yes

SST Reg. No.

${‌subsidiary.federalidnumber}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.employerId}

The SST Reg. No. of your company. If you are not using a NetSuite OneWorld account, this is sourced from the VAT Registration No. in Company Information. If you are using a OneWorld account, it is sourced from the subsidiary VAT Registration No.

Yes

Invoice No.

${‌record.tranid}

The Invoice No. sourced from the transaction.

Yes

Invoice Date

${‌record.trandate}

The transaction date, in DD/MM/YYYY format.

Yes

Customer Name

${‌entity.name}

The name of the customer.

Yes

Customer Address

${‌record.billaddress}

The billing address of the customer.

Yes

Payment Terms

${‌record.terms}

The payment terms sourced from the transaction record.

No

Due Date

${‌record.duedate}

The due date of the invoice.

No

PO#

${‌record.otherrefnum}

The PO No. indicated in the transaction.

No

Sales Rep

${‌record.salesrep}

The name of the Sales Rep sourced from the transaction.

No

Shipping Method

${‌record.shipmethod}

The shipping method sourced from the transaction.

No

Partner

${‌record.partner}

The name of the partner sourced from the transaction.

No

Description

${‌item.description}

The description of the line item.

Yes

Tax Code

${‌item.taxcode}

The tax code of the line item.

Yes

Quantity

${‌item.quantity}

The quantity of the item.

Yes

Unit Price

${‌item.rate}

The item rate or price per unit.

Yes

Amount

${‌item.amount}

The amount derived from the item rate or unit price multiplied by the quantity.

Yes

Amount

(converted to base currency)

${record.item[x].amount} * ${‌record.exchangerate}

This amount is displayed if the transaction is in a foreign currency. Foreign currency is converted to the base currency (MYR).

Yes

Subtotal

${‌record.subtotal}

Indicates the Subtotal amount converted into the base currency (MYR). This is displayed if the transaction is in a foreign currency and the same tax code is used for all items.

Yes

SST (tax rate %)

${‌record.taxtotal}

This is displayed if only one tax rate is applied in the transaction.

Yes

Total Amount

${‌record.total}

The total amount in base currency (MYR). This is displayed if the transaction is in a foreign currency and the same tax code is used for all items.

Yes

Subtotal

(converted to base currency)

${custrecord_psg_sal_base_conversion.basesubtotal}

This is displayed if the transaction is in a foreign currency. Foreign currency is converted to the base currency (MYR).

Yes

SST (tax rate %)

(converted to base currency)

${custrecord_psg_sal_base_conversion.basetax}

This is displayed if the transaction is in a foreign currency. Foreign currency is converted to the base currency (MYR).

Yes

Total Amount

(converted to base currency)

${custrecord_psg_sal_base_conversion.basetotal}

This is displayed if the transaction is in a foreign currency. Foreign currency is converted to the base currency (MYR).

Yes

SST Summary

${taxsummary.taxcodedata[i].taxcode} (${taxsummary.taxcodedata[i].taxrate})

The SST Summary table indicates the amounts with applied tax codes and rates. This is displayed if the transaction has multiple tax codes are applied.

Yes

Subtotal (MYR)

${taxsummary.taxcodedata[i].subtotal}

Subtotal amount in the SST Summary table, pertaining to the total amount exclusive of tax for each tax code applied to the transaction. This is displayed if the transaction has multiple tax codes. Amounts are converted into the base currency (MYR) if the transaction is in a foreign currency.

Yes

Tax (MYR)

${taxsummary.taxcodedata[i].tax}

Total tax amount in the SST Summary table, pertaining to the total tax for each tax code applied in the transaction. This is displayed if the transaction has multiple tax codes. Amounts are converted into the base currency (MYR) if the transaction is in a foreign currency.

Yes

Total (MYR)

${taxsummary.taxcodedata[i].total}

Total Amount in the SST Summary table, pertaining to the total amount inclusive of tax for each tax code applied in the transaction. This is displayed if the transaction has multiple tax codes. Amounts are converted into the base currency (MYR) if the transaction is in a foreign currency.

Yes

Malaysia Credit Note PDF/HTML Template

The Malaysia Credit Note Template has default tags for sourcing and displaying the following information when printed to PDF or HTML.

Field or Label

Placeholder or Value in Default Template

Description

Required Information by Tax Authority?

Title

“Credit Note”

The document type.

Yes

Company Logo

${‌subsidiary.logo}

If you are not using a OneWorld account, the placeholder is <img src="${‌companyInformation.logoUrl}" />

References the image that you want to place as the company logo.

No

Company Name

${‌subsidiary.name}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.companyName}

The name of your company or subsidiary that issued the invoice.

Yes

Company Address

${subsidiary.mainaddress_text}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.addressText}

The address of your company that issued the invoice.

Yes

Company Tel. No.

${‌subsidiary.phone}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.phone}

The telephone number of your company that issued the invoice.

No

Company Email

${‌subsidiary.email}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.email}

The email address of your company that issued the invoice.

No

Company Reg. No.

${subsidiary.custrecord_company_brn}

If you are not using a OneWorld account, the placeholder is ${companyInformation.custrecord_company_ brn}

This is the value entered in the Business Registration Number (BRN) field provided by the Tax Audit Files SuiteApp (if installed).

If the Tax Audit Files SuiteApp is not installed, this field will be blank.

If you have your own custom field for BRN, you can also source it by replacing the placeholder.

Yes

SST Reg. No.

${‌subsidiary.federalidnumber}

If you are not using a OneWorld account, the placeholder is ${‌companyInformation.employerId}

The SST Reg. No. of your company. If you are not using a NetSuite OneWorld account, this is sourced from the VAT Registration No. in Company Information. If you are using a OneWorld account, it is sourced from the subsidiary VAT Registration No.

Yes

Credit Note No.

${‌record.tranid}

The Credit Note No. sourced from the transaction.

Yes

Credit Note Date

${‌record.trandate}

The transaction date, in DD/MM/YYYY format.

Yes

Customer Name

${‌entity.name}

The name of the customer.

Yes

Customer Address

${‌record.billaddress}

The billing address of the customer.

Yes

Customer Tel. No.

${‌entity.phone}

The phone number of the customer.

No

PO#

${‌record.otherrefnum}

The PO No. indicated in the transaction.

No

Shipping Method

${‌record.shipmethod}

The shipping method sourced from the transaction.

No

Tax Invoice No.

${record.custbody_psg_sal_sg_createdfr]

The number of the invoice that the credit note was created from. This is blank if the credit memo or return authorization is not created from an invoice.

Yes

Invoice Date

${record.custbody_psg_sal_sg_createddate]

The invoice date, in DD/MM/YYYY format. This is blank if the credit memo or return authorization is not created from an invoice.

Yes

Item Details:

  • Line No.

  • Description

  • Tax Code

  • Quantity

  • Rate (MYR)

  • Total Price excluding SST

  • SST Amount

${item?counter}

${‌item.item}

${‌item.description}

${‌item.taxcode}

${‌item.quantity}

${item.rate?string["#,##0.00"]}

${item.amount?string["#,##0.00"]}

Details of the line items included in the transaction.

Yes

Subtotal

${‌record.subtotal}

The total amount excluding tax.

Yes

SST (tax rate %)

${‌record.taxtotal}

This is displayed if only one tax rate is applied in the transaction.

Yes

Total Amount

${‌record.total}

The total amount.

Yes

Subtotal

(converted to base currency)

${custrecord_psg_sal_base_conversion.basesubtotal}

This is displayed if the transaction is in base currency (MYR).

Yes

SST (tax rate %)

(converted to base currency)

${custrecord_psg_sal_base_conversion.basetax}

This is displayed if the transaction is in a foreign currency. Foreign currency is converted to the base currency (MYR).

Yes

Total Amount

(converted to base currency)

${custrecord_psg_sal_base_conversion.basetotal}

This is displayed if the transaction is in a foreign currency. Foreign currency is converted to the base currency (MYR).

Yes

SST Summary

${taxsummary.taxcodedata[i].taxcode}

The SST Summary table indicates the amounts with applied tax codes and rates. This is displayed if the transaction has multiple tax codes are applied.

Yes

Subtotal (MYR)

${taxsummary.taxcodedata[i].tax}

Subtotal amount in the SST Summary table, pertaining to the total amount exclusive of tax for each tax code applied to the transaction. This is displayed if the transaction has multiple tax codes. Amounts are converted into the base currency (MYR) if the transaction is in a foreign currency.

Yes

Tax (MYR)

${taxsummary.taxcodedata[i].tax}

Total tax amount in the SST Summary table, pertaining to the total tax for each tax code applied in the transaction. This is displayed if the transaction has multiple tax codes. Amounts are converted into the base currency (MYR) if the transaction is in a foreign currency

Yes

Total (MYR)

${taxsummary.taxcodedata[i].total}

Total Amount in the SST Summary table, pertaining to the total amount inclusive of tax for each tax code applied in the transaction. This is displayed if the transaction has multiple tax codes. Amounts are converted into the base currency (MYR) if the transaction is in a foreign currency.

Yes

Reason for the credit

(footer)

${‌record.memo}

The reason for issuing the credit note.

Yes

Printing the Malaysia Invoice and Credit Note

Open any invoice record or credit memo that you applied the Malaysia invoice or credit note template to. Click the print icon Print invoice.

The PDF file of the invoice or credit memo is generated and displayed in a separate browser tab.

Related Topics

Malaysia Invoicing Features
Support for Transactions in Foreign Currency
Support for Transactions with Multiple Tax Codes

General Notices