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

Invoice Tax Subtotal Tax ID

Context ID INV1051
Cardinality 0..1
Usage M

Description

An identifier for this tax category.

Coded identification of a tax category.

In EN16931 this is the VAT category code. Use a code from the UNTDID 5305 code list.

Details

vrbl-invoice-en16931-ubl-model

Source

Rules

Rule ID Error Message
VRBL-INV-DK-OIOUBL-2p0-124 The value of the Invoice Tax Subtotal Tax ID 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 Invoice Tax Subtotal Tax ID cannot be in different Invoice Tax Subtotal Group classes in the same Invoice Tax.