Context
ES
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode]/cac:TaxSubtotal
VRBL-Invoice-ES-FacturaE-3p2 - Tax Breakdown in Tax Accounting Currency
Spain |
VRBL-Invoice-ES-FacturaE-3p2
| Context ID | INV1067 |
| Usage | O* |
Description
A group of business terms providing information about tax breakdown by different categories, rates and exemption reasons in the invoice tax currency.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:TaxableAmount |
Accounting Tax Subtotal Taxable Amount
The net amount to which the tax percent (rate) is applied to calculate the tax amount. |
0..1 |
| O | cbc:TaxAmount |
Tax Category Tax Amount in Tax Accounting Currency
The amount of this tax subtotal. |
1..1 |
| M | cac:TaxCategory |
Tax Category
The tax category applicable to this subtotal. |
1..1 |
Details
Example: ES_B2G_Invoice_with_currencies.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">16947.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">1694.70</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>10.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VRBL:ES-B2G:01</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>