VRBL-INV-CORE-574
Basic Info
| Rule | The Invoice Line Accounting Tax Subtotal Taxable Amount Currency ID must be the same as Tax Currency Code. |
| Context |
/ubl:Invoice/cac:InvoiceLine/cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode]/cac:TaxSubtotal/cbc:TaxableAmount
|
| Pattern | vrbl-invoice-core |
| Severity | fatal |
Used Template: EqualTaxCurrencyCode
Implementation
@currencyID = /ubl:Invoice/cbc:TaxCurrencyCode