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

Invoice Line Accounting Tax Subtotal Taxable Amount

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

Description

The taxable amount of the invoice line in tax currency.

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

The currency of the amount.

1..1
Details

Example: ES_B2G_Invoice_with_currencies.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:TaxTotal>
      <!-- ... omitted for readability -->
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="EUR">16947.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-574 The Invoice Line Accounting Tax Subtotal Taxable Amount Currency Code must be the same as Tax Accounting Currency.