VRBL-INV-PEPPOL-RS-42

Basic Info

Rule The Invoice Tax Subtotal Taxable Amount Currency Code must have the same value as the Document Currency Code, except for the invoice Total Tax Amount in accounting currency.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cbc:TaxableAmount
Pattern vrbl-invoice-peppol-bis3p0-reduced-syntax
Severity fatal

Implementation

@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode