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

Tax Scheme Code

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

Description

The scheme of the tax category.

Following Tax Scheme Identifiers are commonly used in Denmark:

Details

vrbl-invoice-dk-oioubl-2p0

Code Standard Code Description
VRBL:DK:63 `VAT` Value Added Tax (Moms)

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>
        <!-- ... omitted for readability -->
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-DK-OIOUBL-2p0-118 The value of the Tax Scheme Code must be contained in Tax Scheme ID (subset of UNCL5153) [VRBL-CL-DK-OIOUBL2p0-TaxSchemeID-UNCL5153] or be contained in Tax Scheme ID [VRBL-CL-DK-OIOUBL2p0-TaxSchemeID-OIOUBL] (prefixed by 'VRBL:DK:'). For more information visit: https://oioubl21.oioubl.dk/codelists/en/urn_oioubl_id_taxschemeid-1.1.html
VRBL-INV-DK-OIOUBL-2p0-137 The Tax Scheme Code must be the same within each Tax Total.