VRBL-INV-PEPPOL-RS-9
Basic Info
| Rule | Only one Tax Total Group without tax subtotals must be provided when the Tax Currency Code is provided. |
| Context |
/ubl:Invoice
|
| Pattern | vrbl-invoice-peppol-bis3p0-reduced-syntax |
| Severity | fatal |
Implementation
(
boolean(cbc:TaxCurrencyCode)
and
count(cac:TaxTotal[cac:TaxSubtotal]) = 1
)
or
(
not(boolean(cbc:TaxCurrencyCode))
and
count(cac:TaxTotal[cac:TaxSubtotal]) >= 0
)