XRechnung 2.3.0 · UBLStored validation assertion
BR-53
XRechnung 2.3.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.
every $taxcurrency in cbc:TaxCurrencyCode satisfies exists(//cac:TaxTotal/cbc:TaxAmount[@currencyID=$taxcurrency])