VRBL-INV-CORE-413

Basic Info

Rule The Legal Monetary Total Payable Rounding Amount Currency ID must be the same as Document Currency Code. The only exception are the currencies in Accounting Tax.
Context /ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableRoundingAmount
Pattern vrbl-invoice-core
Severity fatal

Used Template: EqualDocumentCurrencyCode

Implementation

@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode