Error message Peppol

Thijs Jan Hoving Updated by Thijs Jan Hoving

1. Error message 'invalid identifier'

When you get the error below while sending an invoice via Peppol, it means the 'identifier' is invalid.

An identifier is the number or code a company is registered by on the Peppol network. This can be a VAT or COC number (COC is a dutch company registration number) , but the type can vary per country. This number is registered in Newbase in the debtor or organisation module.

In the example below a message is diplayed for errors in two e-identifiers of a Belgian debtor.

The VAT number in Belgium is represented as 9925 in Peppol and is checked against format: ^BE\\d{10}, which indicates that the code should start with 'BE' followed by exactly 10 digits.

The EN number in Belgium is represented as 0208 in Peppol and is checked against the format: ^(?:0|1)\\d{9}, indicating that the first expected digit is a 0 or a 1 followed by 9 digits. For other countries other formats may apply but the error message can be explained in a similar way.

Another example with a message concerning an OIN (Dutch gouvernment organisation) number:

This indicates that an OIN should exist of exactly 20 digits (d{20}).

SOLUTION:

  1. Go to the organisation or debtor
  2. Go to widget 'E-identifier' en fix the identifier.

2. orderReference: Sending to NL:OIN, but purchase_order contains spaces

In this case this occurs when sending a sales invoice to a dutch debtor identified by a OIN number.

The message indicates that purchase_order ('your reference' is being used for that in Newbase) cannot contain spaces.

SOLUTION:

  1. Goto the invoice
  2. Check 'Your reference' and make sure it contains no spaces

3. invalid length

A message indicating an invalid length of some data could look like this:

Create Storecove document failed. Invoice send to storecove by Your Name Here at Fri Jan 09 2026 15:25:40 GMT+0100 (CET). Bron: #/invoiceSubmission/invoice/accountingSupplierParty/party/contact/phone, Details: The property '#/invoiceSubmission/invoice/accountingSupplierParty/party/contact/phone' was not of a maximum string length of 24 in schema 094ab6a7-b901-5097-a061-748bd052fb32#.

How to read this message:

- accountingSupplierParty: the sender

- contact: the contactperson, the accountmanager linked to the sales invoice in Newbase

- phone: content of the 'phone' field

SOLUTION (in this specifice case, other 'invalid length' messages may require other steps to solve):

  1. Go to the sales invoice
  2. Check who the accountmanager is
  3. Check the user record, or have your internal Newbase application manager do that if you do not have access to the Newbase users and check and fix the phone number

How did we do?

Explanation of user checkboxes

Changing widgets from one role to another by the application administrator

Contact