About this endpoint
What it does
Checks whether a company is listed on Peppol and returns its Peppol ID and the document types it can receive. Send up to 25 entries in queries. Each entry can be a Peppol ID (scheme:value), a VAT number with country code, or a company name. Data comes from the Peppol Directory (directory.peppol.eu).
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| queries | String Array | Yes | 1 to 25 entries. Each entry can be a Peppol ID such as 9930:DE811569869, a VAT number such as BE0403170701, or a company name. Each entry gets its own result. |
| country | String | No | ISO country code such as BE, DE or NL. Use it when searching by name, or when a number is sent without its country prefix. |
Notes
queriesis required. A missing or empty list returns a 400 error. For a single check, send a list with one entry.- Numbers are cleaned up first, so
be 0403.170.701works the same asBE0403170701. - VAT numbers are checked before the lookup. A wrong check digit returns
invalid_formatwith a note that explains the problem. not_foundmeans the company has no business card in the Peppol Directory. A company can be registered on Peppol without one, so treatnot_foundas "not listed in the Directory".- A name search (
found_by_name) can match several companies, or a different company with a similar name. Comparename,countryandpeppolIdbefore you use a result.
Response
Returns a count and an items array with one result per entry, in the order you sent them.
| Parameter | Type | Description |
|---|---|---|
| count | Integer | Number of results in items. |
| items | Object Array | One result per entry. |
| items[].input | String | The entry as you sent it. |
| items[].inputType | String | How the entry was read: peppol_id, vat_number, number, company_name or unknown. |
| items[].checkedAs | String | The cleaned-up value that was looked up, for example BE0403170701. |
| items[].status | String | registered, found_by_name, not_found, invalid_format, not_answered or not_checked. |
| items[].registered | Boolean | true when at least one matching participant was found. |
| items[].receivesInvoices | Boolean | true when at least one returned participant accepts invoices. |
| items[].note | String | Plain-language explanation, for example why a number is invalid or that a name match may be another company. null when there is nothing to add. |
| items[].source | String | Where the data comes from: Peppol Directory (directory.peppol.eu). |
| items[].checkedAt | String | When the lookup was made, ISO 8601 UTC. |
| items[].cached | Boolean | Only present on cached results: true when the result came from the cache. |
| items[].cacheAgeSeconds | Integer | Only present on cached results: age of the cached result in seconds. |
| items[].participants | Object Array | Matching Peppol participants. Empty when nothing was found. |
| items[].participants[].peppolId | String | Peppol ID in scheme:value form, for example 9930:DE811569869. |
| items[].participants[].name | String | Company name from the Peppol Directory. |
| items[].participants[].country | String | Country code of the participant. |
| items[].participants[].scheme | String | Identifier scheme code, for example 9930 or 0208. |
| items[].participants[].schemeName | String | Readable scheme name, for example DE VAT number. |
| items[].participants[].value | String | Identifier value within the scheme. |
| items[].participants[].registeredSince | String | Date the participant was registered, YYYY-MM-DD. |
| items[].participants[].receivesInvoices | Boolean | true when this participant accepts invoice document types. |
| items[].participants[].documentTypes | String Array | Readable names of the document types it can receive, for example BIS Billing 3.0 Invoice. |
| items[].participants[].documentTypeIds | String Array | Full Peppol document type identifiers. |
| items[].participants[].endpointId | Object | Endpoint ID to use in an invoice, with schemeID and value. |
| items[].participants[].ublEndpointId | String | Ready-made UBL cbc:EndpointID element for the invoice XML. |
| items[].participants[].participantIdentifier | String | Full participant identifier, for example iso6523-actorid-upis::9930:de811569869. |
| items[].participants[].otherIdentifiers | Array | Other identifiers listed for the participant. |
| items[].participants[].otherNames | Array | Other names listed for the participant. |



