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

Tax Category

Malaysia | VRBL-Invoice-MY-1p0
Context ID INV1080
Usage M

Description

The tax category applicable to this subtotal.

Child elements
Usage Element Description Cardinality
O cbc:ID Tax Category Code

An identifier for this tax category.

0..1
O cbc:Percent Tax Category Rate

The tax rate for this category, expressed as a percentage.

0..1
C cbc:TaxExemptionReason Accounting Tax Subtotal Category Exemption Reason

The reason for tax being exempted, expressed as text.

0..n
M cac:TaxScheme Accounting Tax Subtotal Category Scheme Group

The taxation scheme within which this tax category is defined.

0..1
Details

Example: MY_invoice_01_foreign_currency.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <!-- ... omitted for readability -->
      <cac:TaxCategory>
        <cbc:ID>E</cbc:ID>
        <cbc:Percent>0.00</cbc:Percent>
        <cbc:TaxExemptionReason>tax exemption reason free text description</cbc:TaxExemptionReason>
        <cac:TaxScheme>
          <cbc:ID>OTH</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>