XRechnung 2.2.0 · UBL

BR-53

XRechnung 2.2.0 · UBL

fatalbusiness

Original rule text

[BR-53]-If the VAT accounting currency code (BT-6) is present, then the Invoice total VAT amount in accounting currency (BT-111) shall be provided.

Stored validation assertion
every $taxcurrency in cbc:TaxCurrencyCode satisfies exists(//cac:TaxTotal/cbc:TaxAmount[@currencyID=$taxcurrency])