Home
/
Versions
2017
Rules
PEPPOL-EN16931-R054
Cius
BIS3
Validation message
Only one tax total without tax subtotals MUST be provided when tax currency code is provided.
Context
ubl-creditnote:CreditNote | ubl-invoice:Invoice
ram:ApplicableHeaderTradeSettlement
UBL
XPath
Copied
1
count(cac:TaxTotal[not(cac:TaxSubtotal)]) = (if (cbc:TaxCurrencyCode) then 1 else 0)
CII
count(ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxTotalAmount[@currencyID != $documentCurrencyCode]) = (if (ram:TaxCurrencyCode) then 1 else 0)
Used in business terms
BT-6
BT-110
BT-111