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

Tax Total in Tax Accounting Currency

Serbia | VRBL-Invoice-RS-1p0
Context ID INV1064
Usage O

Description

A group of business terms providing the monetary totals for the invoice in the tax currency.

Child elements
Usage Element Description Cardinality
M cbc:TaxAmount Invoice Total Tax Amount in Tax Accounting Currency

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
O* cac:TaxSubtotal Tax Breakdown in Tax Accounting Currency

One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme.

0..n
Details

Example: RS_InvoiceWithCurrency.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="RSD">47408</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="RSD">118520</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="RSD">23704.0</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>20</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="RSD">237040</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="RSD">23704.0</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>10</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="RSD">355560</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="RSD">0</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>O</cbc:ID>
        <cbc:Percent>0</cbc:Percent>
        <cbc:TaxExemptionReasonCode>VRBL:RS:PDV-RS-12-6-7-1</cbc:TaxExemptionReasonCode>
        <cbc:TaxExemptionReason>1965/2022</cbc:TaxExemptionReason>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>