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

Invoice Line Invoice Tax

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

Description

A group of elements providing information about taxes in document currency applicable to the invoice line.

ZATCA SA it is required to provide tax and taxable amounts on every invoice line. It is also mandatory to provide the line amount inclusive tax.

Child elements
Usage Element Description Cardinality
M cbc:TaxAmount Line 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 cbc:RoundingAmount Invoice Line Invoice Tax Rounding Amount

The rounding amount (positive or negative) added to the calculated tax total to produce the rounded TaxAmount.

0..1
M cac:TaxSubtotal Invoice Line Invoice Tax Subtotal Group

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:InvoiceLine>
    <!-- ... omitted for readability -->
    <cac:TaxTotal>
      <cbc:TaxAmount currencyID="SAR">0.60</cbc:TaxAmount>
      <cac:TaxSubtotal>
        <cbc:TaxableAmount currencyID="SAR">4.00</cbc:TaxableAmount>
        <cbc:TaxAmount currencyID="SAR">0.60</cbc:TaxAmount>
        <cbc:TaxInclusiveAmount currencyID="SAR">4.60</cbc:TaxInclusiveAmount>
        <cac:TaxCategory>
          <cbc:ID>S</cbc:ID>
          <cbc:Percent>15.00</cbc:Percent>
          <cac:TaxScheme>
            <cbc:ID>VAT</cbc:ID>
          </cac:TaxScheme>
        </cac:TaxCategory>
      </cac:TaxSubtotal>
    </cac:TaxTotal>
    <!-- ... omitted for readability -->
  </cac:InvoiceLine>
</ubl:Invoice>