VRBL-INV-CORE-563
Basic Info
| Rule | The Tax Total Group is only allowed when using the currencies in Document Currency Code or Tax Currency Code. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-core |
| Severity | fatal |
Implementation
not(boolean(cac:TaxTotal[not(cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode or cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode)]))