/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal
Invoice Tax Subtotal Group
| Context ID | INV1037 |
| Cardinality | 0..n |
| Usage | M+ |
Description
One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme.
A group of business terms providing information about tax breakdowns by different categories, rates and exemption reasons
Child elements
| Cardinality | Usage | Description | Element |
|---|---|---|---|
| 0..1 | - | Invoice Tax Subtotal Extensions Group | cec:UBLExtensions |
| 0..1 | M |
Invoice Tax Subtotal Taxable Amount
The net amount to which the tax percent (rate) is applied to calculate the tax amount. |
cbc:TaxableAmount |
| 1..1 | M |
Invoice Tax Subtotal Amount
The amount of this tax subtotal. |
cbc:TaxAmount |
| 1..1 | M |
Invoice Tax Subtotal Category Group
The tax category applicable to this subtotal. |
cac:TaxCategory |
Details
vrbl-invoice-pl-b2b-3p0
Example containing two tax breakdowns:
<ubl:Invoice>
<!-- Code omitted for clarity -->
<cac:TaxTotal>
<cbc:TaxAmount currencyID="PLN">383.38</cbc:TaxAmount>
<!-- Tax breakdown per tax category -->
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="PLN">1666.66</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="PLN">383.33</cbc:TaxAmount>
<cac:TaxCategory>
<!-- Tax Category Code -->
<cbc:ID>VRBL:PL:01</cbc:ID>
<cbc:Percent>23.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="PLN">0.95</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="PLN">0.05</cbc:TaxAmount>
<cac:TaxCategory>
<!-- Tax Category Code -->
<cbc:ID>VRBL:PL:03</cbc:ID>
<cbc:Percent>5.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- Code omitted for clarity -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-347 | The Invoice Tax Subtotal Taxable Amount must exist within the Invoice Tax Subtotal Group. |