VRBL-INV-CORE-493

Basic Info

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

Used Template: EqualDocumentCurrencyCode

Implementation

@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode