VRBL-INV-CORE-351

Basic Info

Rule The Invoice Tax Subtotal Taxable Amount Currency Code must be the same as Document Currency Code. The only exception are the currencies in Tax Total in Tax Accounting Currency.
Context /ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cac:TaxSubtotal/cbc:TaxableAmount
Pattern vrbl-invoice-core
Severity fatal

Used Template: EqualDocumentCurrencyCode

Implementation

@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode