Context
MY
/ubl:Invoice/cac:InvoiceLine/cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode]
VRBL-Invoice-MY-1p0 - Invoice Line Accounting Tax
Malaysia |
VRBL-Invoice-MY-1p0
| Context ID | INV1346 |
| Usage | C |
| Usage Description | Required when the Document Currency Code |
Description
A group of elements providing information about taxes in tax currency applicable to the invoice line.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:TaxAmount |
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. |
1..1 |
| M+ | cac:TaxSubtotal |
Invoice Line Accounting Tax Subtotal Group
One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme. |
0..n |
Details
Example: MY_invoice_01_foreign_currency.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MYR">13844.03</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
<cac:TaxCategory>
<cac:TaxScheme>
<cbc:ID>OTH</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
<!-- ... omitted for readability -->
</ubl:Invoice>