ErrorPeppol BIS 3.0Input required

PEPPOL-EN16931-P0101

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

What does this rule mean?

The credit note type code does not match the Peppol profile.

When the document travels as a credit note its type code must come from the credit-note group (381 and relatives).

Official rule message (standard)

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

Where the rule applies

Syntax: UBL

Affected element (XPath):

  • cbc:CreditNoteTypeCode

Technical test

The rule passes when this Schematron expression holds true:


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

How to fix it

A missing or incorrect business entry only you can supply. Add or correct it, then re-check.

Set a type code permitted for credit notes, usually 381.

Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.

Check an e-invoice here

Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.

100% local — no upload, no account.

Related rules

← Back to the error library