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

Tax Category

Portugal | VRBL-Invoice-PT-SAF-T-1p0
Context ID INV1050
Usage M

Description

Group for tax category details.

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
O cbc:TaxExemptionReasonCode Tax Exemption Reason Code

The reason for tax being exempted, expressed as a code.

0..1
O cbc:TaxExemptionReason Tax Exemption Reason

The reason for tax being exempted, expressed as text.

0..n
M cac:TaxScheme Tax Scheme

The taxation scheme within which this tax category is defined.

0..1
Details

Example: VRBL_BASIC_CREDIT_NOTE.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <!-- ... omitted for readability -->
      <cac:TaxCategory>
        <cbc:ID>VRBL:PT:IVA</cbc:ID>
        <cbc:Name>IVA</cbc:Name>
        <cbc:Percent>23.00</cbc:Percent>
        <cac:TaxScheme>
          <cbc:ID>VRBL:PT:NOR</cbc:ID>
          <cac:JurisdictionRegionAddress>
            <cac:Country>
              <cbc:IdentificationCode>PT</cbc:IdentificationCode>
            </cac:Country>
          </cac:JurisdictionRegionAddress>
        </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.