VRBL-INV-PEPPOL-PINT-172

Basic Info

Rule The Allowance Base Amount Currency ID must have the same value as the Document Currency Code, except for the invoice Total Tax Amount in accounting currency.
Context /ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'false']/cbc:BaseAmount
Pattern vrbl-invoice-peppol-pint
Severity fatal

Implementation

@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode