Context
MY
/ubl:Invoice/cac:InvoiceLine/cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode]/cac:TaxSubtotal/cbc:TaxableAmount
VRBL-Invoice-MY-1p0 - Invoice Line Accounting Tax Subtotal Taxable Amount
Malaysia |
VRBL-Invoice-MY-1p0
| Context ID | INV1352 |
| Usage | M |
Description
The taxable amount of the invoice line in tax currency.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Invoice Line Accounting Tax Subtotal Taxable Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: MY_invoice_01_foreign_currency.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="MYR">13844.03</cbc:TaxableAmount>
<!-- ... omitted for readability -->
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-574 | The Invoice Line Accounting Tax Subtotal Taxable Amount Currency Code must be the same as Tax Accounting Currency. |