e-Factura validator

All error codes › PEPPOL-EN16931-R055

PEPPOL-EN16931-R055 – Invoice total VAT amount and Invoice total VAT amount in accounting currency MUST have…

ErrorpeppolPeppol only

What the rule says

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

How to fix it

Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: ubl-creditnote:CreditNote | ubl-invoice:Invoice

Test (XPath):

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)

Related rules