Context
CH
/ubl:Invoice/cac:InvoiceLine/cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode]
VRBL-Invoice-CH-YellowBill-3p0 - Invoice Line Invoice Tax
Switzerland |
VRBL-Invoice-CH-YellowBill-3p0
| Context ID | INV1331 |
| Usage | O |
Description
A group of elements providing information about taxes in document currency applicable to the invoice line.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:TaxAmount |
Line Tax Amount
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 Invoice 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: VRBL_CH_INVOICE_CreditNote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="CHF">1190.13</cbc:TaxAmount>
<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 -->
</cac:InvoiceLine>
</ubl:Invoice>