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

Tax Breakdown in Tax Accounting Currency

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

Description

A group of business terms providing information about tax breakdown by different categories, rates and exemption reasons in the invoice tax currency.

Child elements
Usage Element Description Cardinality
O cbc:TaxableAmount Accounting Tax Subtotal Taxable Amount

The net amount to which the tax percent (rate) is applied to calculate the tax amount.

0..1
O cbc:TaxAmount Tax Category Tax Amount in Tax Accounting Currency

The amount of this tax subtotal.

1..1
M cac:TaxCategory Tax Category

The tax category applicable to this subtotal.

1..1
Details

Example: RS_InvoiceWithCurrency.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="RSD">118520</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="RSD">23704.0</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>20</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
    <!-- ... omitted for readability -->
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-EN16931-M-206 The Accounting Tax Subtotal Taxable Amount must exist within the Tax Breakdown in Tax Accounting Currency.
VRBL-INV-EN16931-M-208 The Tax Category Code must exist within the Tax Breakdown in Tax Accounting Currency.
VRBL-INV-EN16931-M-209 When Tax Category Code is not 'O', the Tax Category Rate of VAT must exist within the Tax Breakdown in Tax Accounting Currency.