Context
CH
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cbc:TaxableAmount
VRBL-Invoice-CH-YellowBill-3p0 - Tax Category Taxable Amount
Switzerland |
VRBL-Invoice-CH-YellowBill-3p0
| Context ID | INV1046 |
| Usage | M |
Description
Sum of all taxable amounts subject to a specific TAX category code and TAX category rate (if the TAX category rate is applicable).
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | @currencyID |
Invoice Tax Subtotal Taxable Amount Currency Code
The currency of the amount. |
1..1 |
Details
Example: VRBL_CH_INVOICE_CreditNote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="CHF">7934.2</cbc:TaxableAmount>
<!-- ... omitted for readability -->
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-351 | The Invoice Tax Subtotal Taxable Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency. |