/ubl:Invoice/cac:InvoiceLine/cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode]
Invoice Line Accounting Tax
| Context ID | INV1346 |
| Cardinality | 0..n |
| Usage | O |
Description
A total amount of taxes of a particular kind applicable to this invoice line.
A group of elements providing information about taxes in tax currency applicable to the invoice line.
In MyInvois, 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 which will be MYR. In this case the Tax Currency Invoice Line Tax Total group must be used.
Child elements
| Cardinality | Usage | Description | Element |
|---|---|---|---|
| 1..1 | M |
Line Tax Amount In Tax Currency
The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme. |
cbc:TaxAmount |
| 0..n | M |
Invoice Line Accounting Tax Subtotal Group
One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. |
cac:TaxSubtotal |
Details
vrbl-invoice-my-1p0
- The Document Currency Invoice Line Tax Total group
cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode]and its child Tax Breakdown groupcac:TaxSubtotal, provide all amounts in the foreign currency. - The Tax Currency Invoice Line Tax Total group
cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode]and its child Tax Breakdown groupcac:TaxSubtotal, provide all amounts in the tax (loac) currencyMYR.
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 (local) 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>