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

Invoice Line Invoice Tax

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV1331
Usage O

Description

A group of elements providing information about taxes in document currency applicable to the invoice line.

Child elements
Usage Element Description Cardinality
M cbc:TaxAmount Line Tax Amount

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
M cac:TaxSubtotal Invoice Line Invoice Tax Subtotal Group

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

0..n
Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="EUR">16140.00</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="EUR">1614.00</cbc:TaxAmount>
        <cac:TaxCategory>
          <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 -->
  </cac:InvoiceLine>
</ubl:Invoice>