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

Tax Category Tax Amount

Türkiye | VRBL-Invoice-TR-1p2
Context ID INV1048
Usage M

Description

The total tax amount for a given tax category.

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

The currency of the amount.

1..1
Details

Example: TR_invoice_ihracat_export.xml

<ubl:Invoice schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 file:///C:/Users/FA/Documents/e-invoicing-format/vrbl/maindoc/UBL-Invoice-2.4.xsd">
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <!-- ... omitted for readability -->
      <cbc:TaxAmount currencyID="TRY">0</cbc:TaxAmount>
      <!-- ... omitted for readability -->
    </cac:TaxSubtotal>
    <!-- ... omitted for readability -->
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-354 The Invoice Tax Subtotal Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.