VRBL-INV-DK-OIOUBL-2p0-6
Basic Info
| Rule | The Tax Currency Code expects a minimum of one Accounting Tax Amount. |
| Context |
/ubl:Invoice/cbc:TaxCurrencyCode
|
| Pattern | vrbl-invoice-dk-oioubl-2p0 |
| Severity | fatal |
Used Template: CountGreaterEqualOne
| Parameter | Value | |
|---|---|---|
| Context | = |
.
|
| probe | = |
/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode]/cbc:TaxAmount
|
Implementation
count(/ubl:Invoice/cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:TaxCurrencyCode]/cbc:TaxAmount) >= 1