Malaysia (MYS): Line-Level Tax Total
You must specify tax information at the line level.
In the MyInvois platform, you are required to specify tax and taxable amounts on each invoice line.
Note
This is an additional tax group. More information is provided in the VRBL: Tax Totals and Subtotals topic.
Elements
Use the InvoiceLine/TaxTotal element to model this information:
| Name (Path) | Cardinality | Description |
|---|---|---|
Line Level Taxes Group (/Invoice/InvoiceLine/TaxTotal) | 1..1 | Groups information about tax that is applied to the line. |
Invoice Total Tax Amount in Tax Accounting Currency (/Invoice/InvoiceLine/TaxTotal/TaxAmount) | 1..1 | The total tax amount expressed in the accounting currency accepted or required in the country of the Supplier. |
Tax Breakdown Group (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal) | 0..n | A group of elements providing information about tax breakdown by different categories, rates, and exemption reasons in the invoice accounting currency. One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. |
Tax Category Tax Amount In Accounting Currency (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxAmount) | 1..1 | The total tax amount for a given tax category. |
Tax Category Applicable To This Subtotal (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory) | 1..1 | A group of elements providing information about the tax category. |
Tax Category Code For Tax Category Tax Amount In Accounting Currency (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory/ID) | 1..1 | Code that represents the applicable Tax Category. |
Tax Category Rate For Tax Category Tax Amount In Accounting Currency (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory/Percent) | 0..1 | The tax rate, represented as a percentage that applies to the relevant tax category. |
Tax Scheme (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory/TaxScheme) | 1..1 | Groups information about the applicable Tax Scheme. |
Tax Scheme Code (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory/TaxScheme/ID) | 1..1 | Code that represents the Tax Scheme. |
Tax Scheme Tax Type Code (/Invoice/InvoiceLine/TaxTotal/TaxSubtotal/TaxCategory/TaxScheme/TaxTypeCode) | 0..1 | The type code of the Tax Category. |
Example
Simple
<Invoice>
<!-- Code omitted for clarity -->
<cac:InvoiceLine>
<!-- Code omitted for clarity -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="MYR">1000.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MYR">10000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MYR">1000.00</cbc:TaxAmount>
<cac:TaxCategory>
<cac:TaxScheme>
<cbc:ID>OTH</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- Code omitted for clarity -->
<cac:InvoiceLine>
</Invoice>
FX
Additionally, in MyInvois Malaysia, in case the Document Currency Code cbc:DocumentCurrencyCode is a foreign currency, the tax amounts must also be provided in the Tax Currency Code cbc:TaxCurrencyCode (MYR).
Therefore two Tax Total groups must be used.
- The first Tax Total group
cac:TaxTotaland its child Tax Breakdown groupcac:TaxSubtotal, provide all amounts in the foreign currency (cbc:TaxAmountandcbc:TaxableAmount). - The second Tax Total group
cac:TaxTotaland its child Tax Breakdown groupcac:TaxSubtotal, provides all amounts in the tax currency (cbc:TaxAmountandcbc:TaxableAmount).
The following example illustrates the usage:
<Invoice>
<!-- Code omitted for clarity -->
<cac:InvoiceLine>
<!-- Code omitted for clarity -->
<!-- first tax total group in document (foreign) currency (example: USD) -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="USD">22.18</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="USD">221.80</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="USD">22.18</cbc:TaxAmount>
<cac:TaxCategory>
<cac:TaxScheme>
<cbc:ID>OTH</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- second tax total group in tax currency (MYR) -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="MYR">1000.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MYR">10000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MYR">1000.00</cbc:TaxAmount>
<cac:TaxCategory>
<cac:TaxScheme>
<cbc:ID>OTH</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- Code omitted for clarity -->
<cac:InvoiceLine>
</Invoice>
Updated 4 days ago
