Context
CH
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal
VRBL-Invoice-CH-YellowBill-3p0 - Tax Breakdown
Switzerland |
VRBL-Invoice-CH-YellowBill-3p0
| Context ID | INV1037 |
| Usage | M+ |
Description
A group of business terms providing information about tax breakdowns by different categories, rates and exemption reasons
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:TaxableAmount |
Tax Category Taxable Amount
The net amount to which the tax percent (rate) is applied to calculate the tax amount. |
0..1 |
| M | cbc:TaxAmount |
Tax Category Tax Amount
The amount of this tax subtotal. |
1..1 |
| M | cac:TaxCategory |
Tax Category
The tax category applicable to this subtotal. |
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>
<cbc:TaxAmount currencyID="CHF">1190.13</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>15</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>