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

Tax Scheme Code

Context ID INV1056
Cardinality 0..1
Usage M

Description

The scheme of the tax category.

EN16931 requires the usage of the fixed code VAT.

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.