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

Tax Category Code

Denmark | VRBL-Invoice-DK-OIOUBL-2p0
Context ID INV1051
Usage M

Description

Coded identification of a tax category.

Use a code from the subset of the UNCL 5153 codelist or the OIOUBL defined original codes prefixed with VRBL:DK.

Details

vrbl-invoice-dk-oioubl-2p0

Code Standard Code Description
VRBL:DK:StandardRated `S` Standard Rate
VRBL:DK:ZeroRated `Z` Zero Rated
VRBL:DK:ReverseCharge `AE` Reverse Charge

Example: DK_OIOUBL_380_invoice_tax_category_Z.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:TaxTotal>
    <!-- ... omitted for readability -->
    <cac:TaxSubtotal>
      <!-- ... omitted for readability -->
      <cac:TaxCategory>
        <cbc:ID>Z</cbc:ID>
        <!-- ... omitted for readability -->
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-DK-OIOUBL-2p0-124 The value of the Tax Category Code must be contained in Tax Category ID (subset of UNCL5305) [VRBL-CL-DK-OIOUBL2p0-TaxCategoryID-UNCL5305] or be contained in Tax Category ID (OIOUBL codes) [VRBL-CL-DK-OIOUBL2p0-TaxCategoryID-OIOUBL] (prefixed by 'VRBL:DK:'). For more information visit: https://oioubl21.oioubl.dk/codelists/en/urn_oioubl_id_taxcategoryid-1.1.html
VRBL-INV-DK-OIOUBL-2p0-135 The same Tax Category Code cannot be in different Tax Breakdown classes in the same Tax Total.