Peppol is an international network for sending e-invoices between businesses and public bodies. Before you send an invoice over it, check that the buyer can receive one. This guide shows the lookup, how to read its answer, and how to make the Peppol file.
Certinvo writes and validates the Peppol file. It does not send over Peppol yet.
Before you begin
You need the buyer’s Peppol participant id. It is a four-digit scheme, a colon and the identifier, for example
0204:991-07335-68. The buyer or their public directory entry gives it to you.
Look up the buyer
curl -s -H "Authorization: Bearer cvo_live_sk_..." \
"https://<api-host>/v1/peppol/participants/0204:991-07335-68"Read the answer
| Answer | Meaning |
|---|---|
200, reachable: true |
The buyer is registered. smp names the server that holds its details. documentTypes lists what it accepts, each with its syntax: ubl, cii, or null when unknown. |
200, reachable: false |
The Peppol registry says the buyer is not registered. |
502 directory_unavailable |
Certinvo could not ask the registry. This says nothing about the buyer. Try again later. |
400 invalid_participant |
The id is not in the form 1234:identifier. |
Treat the answer as a hint. It is looked up live every time, and the registry’s signature is not checked. The access point that sends the invoice checks again.
Look up in the console
On the create form (/invoices/neu), open Käufer. Fill in Schema der elektronischen Adresse (the
four digits) and Elektronische Adresse. A moment after you stop typing, the form looks the buyer up. It
shows one of the same three answers: registered, not registered, or the directory could not be asked.
You do not need to tick the Peppol box for this. The lookup runs whenever both fields are filled.
Make the Peppol file
Once you know the buyer can receive Peppol, ask for the Peppol output when you create the invoice:
- In the API: send the canonical invoice to
POST /v1/conversionswith"outputs": {"peppol": true}, or turn on thepeppoloutput in the company’s validation policy. - In the console: tick Auch die Peppol-Fassung (BIS 3.0) erzeugen on the create form.
The conversion writes the Peppol file and validates the exact bytes. It releases the file only when its report permits release.