VRBL-INV-DK-OIOUBL-2p0-135

Basic Info

Rule The same Invoice Tax Subtotal Tax ID cannot be in different Invoice Tax Subtotal Group classes in the same Invoice Tax.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cac:TaxCategory/cbc:ID
Pattern vrbl-invoice-dk-oioubl-2p0
Severity fatal

Implementation

count(../../../cac:TaxSubtotal[cac:TaxCategory/cbc:ID = current()]) <= 1