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

Tax Category

New Zealand | VRBL-Invoice-NZ-1p0
Context ID INV1050
Usage M

Description

A group of business terms providing information about the tax category.

Child elements
Usage Element Description Cardinality
M 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
M cac:TaxScheme Tax Scheme

The taxation scheme within which this tax category is defined.

0..1
Details

Example: NZ_CreditNote.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <!-- ... omitted for readability -->
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>15</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>GST</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-CORE-357 The Tax Category Code must exist within the Tax Category.
VRBL-INV-CORE-360 The Tax Category expects a maximum of one Tax Exemption Reason.
VRBL-INV-CORE-361 The Tax Scheme must exist within the Tax Category.