PEPPOL-EN16931-R055

Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have the same operational sign

About

ID
PEPPOL-EN16931-R055
Flag
fatal
Context
ubl-creditnote:CreditNote | ubl-invoice:Invoice
Test
not(cbc:TaxCurrencyCode) or (cac:TaxTotal/cbc:TaxAmount[@currencyID=normalize-space(../../cbc:TaxCurrencyCode)] <= 0 and cac:TaxTotal/cbc:TaxAmount[@currencyID=normalize-space(../../cbc:DocumentCurrencyCode)] <= 0) or (cac:TaxTotal/cbc:TaxAmount[@currencyID=normalize-space(../../cbc:TaxCurrencyCode)] >= 0 and cac:TaxTotal/cbc:TaxAmount[@currencyID=normalize-space(../../cbc:DocumentCurrencyCode)] >= 0)