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

Tax Total in Tax Accounting Currency

Hungary | VRBL-Invoice-HU-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: HU_invoice_380_domestic_final_invoice_with_foreign_currency.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="HUF">1481760.0</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="HUF">5488000.00</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="HUF">1481760.0</cbc:TaxAmount>
      <cbc:TaxInclusiveAmount currencyID="HUF">6969760.00</cbc:TaxInclusiveAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>27.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>