VRBL-INV-CORE-569
Basic Info
| Rule | The Invoice Line Group expects a maximum of one Invoice Line Invoice Tax. |
| Context |
/ubl:Invoice/cac:InvoiceLine
|
| Pattern | vrbl-invoice-core |
| Severity | fatal |
Used Template: CountLessEqualOne
| Parameter | Value | |
|---|---|---|
| probe | = |
cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode]
|
Implementation
count(cac:TaxTotal[cbc:TaxAmount/@currencyID = /ubl:Invoice/cbc:DocumentCurrencyCode]) <= 1