VRBL-INV-PT-2p1-9
Basic Info
| Rule | Legal Monetary Total Tax Inclusive Amount = Legal Monetary Total Tax Exclusive Amount + Total Tax Amount, with an acceptance range of 1.00 EURO (it does not mean that this tolerance is accepted by the customer). |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-pt-2p1 |
| Severity | fatal |
Implementation
((round((cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount + cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cbc:TaxAmount) * 10 * 10) div 100) <= (cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount + 1.00)
and
(round((cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount + cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]/cbc:TaxAmount) * 10 * 10) div 100) >= (cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount - 1.00))