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

Invoice Line Invoice Tax Subtotal Taxable Amount

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV1337
Usage M

Description

The taxable amount of the invoice line.

Child elements
Usage Element Description Cardinality
M @currencyID Invoice Line Invoice Tax Subtotal Taxable Amount Currency Code

The currency of the amount.

1..1
Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:TaxTotal>
      <!-- ... omitted for readability -->
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="EUR">16140.00</cbc:TaxableAmount>
        <!-- ... omitted for readability -->
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-493 The Invoice Line Invoice Tax Subtotal Taxable Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.