Rules
Basic Info
|
Rule
|
The Tax Accounting Currency expects a minimum of one Invoice Total Tax Amount in Tax Accounting Currency. |
|
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