/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal

Tax Breakdown

Context ID INV1037
Cardinality 0..n
Usage M+

Description

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 O Invoice Tax Subtotal Extensions Group cec:UBLExtensions
0..1 M Tax Category Taxable Amount
The net amount to which the tax percent (rate) is applied to calculate the tax amount.
cbc:TaxableAmount
1..1 M Tax Category Tax Amount
The amount of this tax subtotal.
cbc:TaxAmount
1..1 M Tax Category
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