# How to check whether a business can receive Peppol e-invoices

> Check a customer's Peppol ID or VAT number before sending an e-invoice: ID formats per country, the directory search, the DNS lookup behind it, and bulk checks.

Source: https://cozybit.dev/guides/peppol-participant-lookup/

Guide

Before you send an e-invoice over Peppol, you need to know whether the customer is registered, under which ID and through which provider. This guide covers Peppol ID formats, the two public lookups behind the network, and how to check thousands of customers at once.

Updated 2 December 2026. Written by Cozybit, which makes one of the options below.

In short

- **One business:** search the Peppol Directory website by name or ID.
- **DNS routing lookup:** the Peppol DNS lookup (SML) says whether an ID is registered and which provider receives for it. How
- **From a VAT number:** build the Peppol ID from the right scheme code. Table
- **Many businesses:** our actor checks IDs and VAT numbers in bulk and reports provider switches. Example

## 1. Peppol IDs and scheme codes

A Peppol participant ID has three parts: the scheme `iso6523-actorid-upis`, a four-digit code for the identifier type (the EAS code), and the identifier itself, as in `iso6523-actorid-upis::0208:0123456789`. The same business can be registered under more than one ID. Common patterns (values invented):

| Country | Identifier | Peppol ID |
|---|---|---|
| Belgium | Enterprise number | `0208:0123456789` |
| Belgium | VAT number | `9925:BE0123456789` |
| France | SIREN | `0002:123456789` |
| France | VAT number | `9957:FR12123456789` |
| Germany | VAT number | `9930:DE123456789` |
| Netherlands | VAT number | `9944:NL123456789B01` |

These are the paths our actor tries for a VAT number: Belgium checks the enterprise number and then the VAT number, France the VAT number and then the SIREN.

## 2. The Peppol Directory

The public **Peppol Directory** lists about 9.7 million participants with "business cards": name, country, identifiers, sometimes a registration date, and the document types each ID accepts. You can search it on its website or call its search API:

**Directory search for one ID**

```bash
curl -sS "https://directory.peppol.eu/search/1.0/json?participant=iso6523-actorid-upis::0208:0123456789"
```

Two things to know: a search returns at most 1,000 results, and not every registered ID publishes a business card. About 28% of business cards have no registration date.

## 3. The DNS lookup that routes invoices

Access points find a receiver's provider through DNS. The ID's value is hashed with SHA-256, encoded in Base32, and looked up as a NAPTR record under the Peppol SML zone. The record points at the provider's address book (SMP). This is the answer that decides delivery, so check it alongside the directory.

1. 1**Peppol ID** `iso6523-actorid-upis::0208:0123456789`
2. 2**Hash** SHA-256 of the lowercase value, then Base32
3. 3**DNS lookup** A NAPTR record under `participant.sml.prod.tech.peppol.org`
4. 4**Provider's SMP** The address book with document types and the receiving access point

How an access point finds where to deliver. No DNS answer means the ID is not registered.

**Build the DNS name for an ID**

```python
import base64
import hashlib

def peppol_dns_name(participant_id: str) -> str:
    """DNS name of a Peppol participant in the Peppol SML (NAPTR lookup)."""
    scheme, value = participant_id.lower().split("::", 1)
    digest = hashlib.sha256(value.encode()).digest()
    label = base64.b32encode(digest).decode().rstrip("=")
    return f"{label}.{scheme}.participant.sml.prod.tech.peppol.org"

print(peppol_dns_name("iso6523-actorid-upis::0208:0123456789"))
```

**Look it up**

```bash
# Replace NAME with the output of peppol_dns_name()
dig +short NAPTR NAME
# A registered ID answers with a "Meta:SMP" record whose URL is the
# provider's address book (SMP). No answer: not registered under this ID.
```

## 4. Bulk checks with our actor

[Peppol Directory Lookup](https://cozybit.dev/tools/peppol-directory/) runs both lookups for each ID or VAT number and returns one row: registered or not, names, country, document types and the provider's host name.

**Check two VAT numbers and remember their providers**

```bash
curl -sS --max-time 310 -X POST \
  "https://api.apify.com/v2/acts/qMyzrf2IKcdsPlGOd/run-sync-get-dataset-items?maxTotalChargeUsd=0.10" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "lookup", "vatNumbers": ["BE0123456789", "NL123456789B01"], "trackProviders": true}'
```

**Example record**

```json
{
  "query": "BE0123456789",
  "participant_id": "iso6523-actorid-upis::0208:0123456789",
  "lookup_status": "registered",
  "registered": true,
  "names": ["EXAMPLE TRADING BV"],
  "country": "BE",
  "country_source": "business_card",
  "registration_date": "2025-09-12",
  "provider": "smp.example-provider.test",
  "document_types": [
    "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1"
  ],
  "details_pending": false,
  "checked_on": "2026-12-02"
}
```

With `trackProviders` on, a later run returns a `provider_changed` row when a customer moves to another provider. The `changes` mode lists every ID that joined or left the directory each day, captured since 20 November 2026.

Contact names, email addresses and phone numbers from business cards are never stored or returned.

## Questions

**Is a business that isn't listed unable to receive e-invoices?**

It is not registered on Peppol under that ID today. It may use another ID, another network or a portal.

**Why does a VAT number fail for my country?**

VAT lookups cover Belgium, France, Germany and the Netherlands. For other countries, pass the full Peppol ID.

Our tool for this

Peppol Directory Lookup

Who can receive Peppol e-invoices, through which provider, and who joined today.

[Try it in Apify Console](https://apify.com/cozybit/peppol-directory-registrations) [Tool page](https://cozybit.dev/tools/peppol-directory/)
