/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cac:TaxCategory/cac:TaxScheme/cbc:ID

Document Level Charge Tax Scheme Code

Denmark | VRBL-Invoice-DK-OIOUBL-2p0
Context ID INV0924
Usage O

Description

A code indicating the type of tax.

Details

Example: DK_OIOUBL_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AllowanceCharge>
    <!-- ... omitted for readability -->
    <cac:TaxCategory>
      <!-- ... omitted for readability -->
      <cac:TaxScheme>
        <cbc:ID>VAT</cbc:ID>
        <!-- ... omitted for readability -->
      </cac:TaxScheme>
    </cac:TaxCategory>
  </cac:AllowanceCharge>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-DK-OIOUBL-2p0-117 The value of the Document Level Charge 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