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

Tax Category Taxable Amount

Serbia | VRBL-Invoice-RS-1p0
Context ID INV1046
Usage O

Description

Sum of all taxable amounts subject to a specific TAX category code and TAX category rate (if the TAX category rate is applicable).

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

The currency of the amount.

1..1
Details

Example: RS_AdvanceInvoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="RSD">456.36</cbc:TaxableAmount>
      <!-- ... omitted for readability -->
    </cac:TaxSubtotal>
    <!-- ... omitted for readability -->
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-EN16931-CM-349 The value of the Invoice Tax Subtotal Taxable Amount Currency Code must be contained in Alpha-3 currency [VRBL-CL-EN16931-CurrencyCode].
VRBL-INV-EN16931-S-271 The Tax Category Taxable Amount must have no more than 2 decimals.
VRBL-INV-EN16931-M-146 The Tax Category Taxable Amount must have no more than 2 decimals.
VRBL-INV-CORE-351 The 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.