e-Factura validator

All error codes › PEPPOL-EN16931-P0101

PEPPOL-EN16931-P0101 – Credit note type code MUST be set according to the profile

ErrorpeppolPeppol only

What the rule says

Credit note type code MUST be set according to the profile.

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: cbc:CreditNoteTypeCode

Test (XPath):

$profile != '01' or (some $code in tokenize('381 396 81 83 532', '\s') satisfies normalize-space(text()) = $code)

Related rules