VRBL-INV-PEPPOL-RS-38

Basic Info

Rule The Charge 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) = 'true']/cbc:BaseAmount
Pattern vrbl-invoice-peppol-bis3p0-reduced-syntax
Severity fatal

Implementation

@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode