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

Tax Total

Saudi Arabia | VRBL-Invoice-SA-1p2
Context ID INV1033
Usage M

Description

A group of business terms providing information about the total tax in document currency.

Child elements
Usage Element Description Cardinality
M cbc:TaxAmount Invoice Total Tax Amount

The total tax amount for a particular taxation scheme, e.g., VAT; the sum of the tax subtotals for each tax category within the taxation scheme.

1..1
M cac:TaxSubtotal Tax Breakdown

One of the subtotals the sum of which equals the total tax amount for a particular taxation scheme.

0..n
Details

Example: SA_Creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="SAR">0.6</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="SAR">4.00</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="SAR">0.60</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID schemeID="UN/ECE 5305" schemeAgencyID="6">S</cbc:ID>
        <cbc:Percent>15.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-EN16931-M-50 Exactly one Tax Breakdown marked as Reverse charge is required when Document Level Allowances, Document Level Charges or Invoice Line is marked as Reverse charge.