Context
NZ
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal
VRBL-Invoice-NZ-1p0 - Tax Breakdown
New Zealand |
VRBL-Invoice-NZ-1p0
| 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: NZ_CreditNote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:TaxTotal>
<!-- ... omitted for readability -->
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="NZD">159.43</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="NZD">23.91</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>15</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>GST</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<!-- ... omitted for readability -->
</ubl:Invoice>