# Peppol Participant Lookup: is this company on Peppol? (`goobertje/peppol-participant-lookup`) Actor

Check if Belgian, Dutch, French or Norwegian companies are registered on Peppol e-invoicing, via Peppol's public SML DNS lookup (not the Peppol Directory). Bulk KBO, VAT, KVK, SIREN/SIRET or org numbers in; registered yes/no and SMP provider out.

- **URL**: https://apify.com/goobertje/peppol-participant-lookup.md
- **Developed by:** [goober](https://apify.com/goobertje) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 participant checkeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Peppol Participant Lookup: check if a company is on the Peppol e-invoicing network

Find out which of your customers or suppliers can receive e-invoices over Peppol. Give it Belgian enterprise numbers, VAT numbers or full Peppol participant ids and get one row per company: registered or not, and which Peppol SMP (service metadata publisher) it is registered with. Built for accountants, ERP and invoicing teams, and anyone preparing for the Belgian B2B e-invoicing mandate. No API key, no proxies, no browser.

Built by goobertje. This is not an official OpenPeppol product and is not affiliated with OpenPeppol.

### Why use this Actor

- Same lookup that every Peppol Access Point does: the public Peppol SML DNS discovery. Fast, and no scraping.
- Does not use the Peppol Directory (its robots.txt disallows automated search and export).
- Belgium aware: a Belgian enterprise number is checked under both Peppol schemes (0208 and 9925), and both ids are reported.
- Check digits are verified before any lookup. Invalid numbers give a free status row.
- Optional: list the document types an SMP publishes, only where that SMP's robots.txt allows it (most do not).

### Quick start

Click Start with the prefilled input. It checks three Belgian enterprise numbers.

```json
{
  "identifiers": ["0403199702", "0202239951", "0123450019"],
  "defaultScheme": "0208",
  "maxItems": 100
}
```

You get three rows: two registered (with their SMP host) and one not registered. The run takes a few seconds.

### Input

| Field | Meaning |
|---|---|
| `identifiers` | 1 to 5000 strings. Full id `iso6523-actorid-upis::0208:0403199702`, `0208:0403199702`, or a bare number read with `defaultScheme`. For the numeric schemes (Belgium, Norway, France, KVK) spaces, dots and dashes are removed (`BE0403.199.702` works); for other schemes only spaces are removed, because dots and dashes can be part of the id. |
| `defaultScheme` | Scheme for bare numbers: `0208` Belgium enterprise number (default), `9925` Belgium VAT, `0106` NL KVK, `0190` NL OIN, `0009` FR SIRET, `0002` FR SIREN, `0192` Norway, `0088` GLN. |
| `belgiumCheckBothSchemes` | Default true. A Belgian number is also checked under the other scheme (`9925:be<digits>`); registered if either resolves. |
| `includeDocumentTypes` | Default false. Try to read document type ids from the SMP (see below). |
| `maxItems` | Default 1000. Caps the charged answers per run. |
| `concurrency` | Default 5, max 20. Parallel DNS lookups. |
| `smlZone` | Advanced. Default `participant.sml.prod.tech.peppol.org`. Use `participant.sml.test.tech.peppol.org` for the Peppol test network. |

Validation: Belgian numbers need 9 or 10 digits and the mod-97 check; 9925 values are `be` plus 10 digits; Norwegian numbers use the MOD11 check; French SIREN and SIRET use the Luhn check; Dutch KVK numbers have 8 digits. Other schemes accept any non-empty value up to 130 characters. Duplicates (after normalisation) are checked once.

### What you get

| Field | Meaning |
|---|---|
| `status` | `ok` for an answer, `invalid_identifier` or `lookup_error` for a free status row |
| `input`, `scheme`, `participantId` | What you sent and the normalised Peppol participant id |
| `registered` | true when the participant resolves to an SMP in the SML |
| `smpUrl`, `smpHost` | SMP base URL from the DNS record; null when not registered |
| `registeredUnder` | Participant ids that resolved (Belgium: one or both of 0208 and 9925) |
| `countryHint` | Country implied by the scheme (for example `BE`); null if the scheme has none |
| `documentTypes`, `documentTypesStatus` | Document type ids or null; status `not_requested`, `ok`, `smp_disallows_automated_access`, `not_found_on_smp` or `error` |
| `dnsZone`, `checkedAt` | SML zone queried and UTC timestamp |

Sample from a real run on 2026-11-13:

```json
{
  "status": "ok",
  "input": "0403199702",
  "scheme": "0208",
  "participantId": "iso6523-actorid-upis::0208:0403199702",
  "registered": true,
  "smpUrl": "https://smp.generix.biz",
  "smpHost": "smp.generix.biz",
  "registeredUnder": [
    "iso6523-actorid-upis::0208:0403199702",
    "iso6523-actorid-upis::9925:be0403199702"
  ],
  "countryHint": "BE",
  "documentTypes": null,
  "documentTypesStatus": "not_requested",
  "dnsZone": "participant.sml.prod.tech.peppol.org",
  "checkedAt": "2026-11-13T11:28:06.034495Z"
}
```

An unregistered participant has `registered: false`, `smpUrl: null` and an empty `registeredUnder`. That is a valid answer and is charged.

### How it works

Every Peppol Access Point finds a receiver the same way. The participant id (scheme `iso6523-actorid-upis`, value such as `0208:0403199702`) is lower-cased, hashed with SHA-256, encoded in base32 and used as a DNS name in the Peppol SML zone. A U-NAPTR record with service `Meta:SMP` holds the SMP base URL. An NXDOMAIN answer means the participant is not registered. A DNS failure (SERVFAIL, timeout after retries) gives a free `lookup_error` row, because the answer is unknown rather than "not registered".

The Actor uses the production zone `participant.sml.prod.tech.peppol.org` (OpenPeppol SML, in use since September 2026). It never calls the Peppol Directory.

#### Document types (optional)

With `includeDocumentTypes` the Actor fetches `robots.txt` of each SMP host once per run and obeys it. Only if it allows access, the Actor reads the ServiceGroup of the participant (one request per second per host) and lists the document type ids. It reads no other SMP data and does not verify signatures. Many SMPs serve `Disallow: /` (checked on 2026-11-13 for smp.generix.biz, smp.crossinx.com and smp.peppol.storecove.com). For those the row gets `documentTypesStatus: "smp_disallows_automated_access"` and no request is made to the SMP itself. Do not expect document types for most participants.

### What "registered" means

Registered means the participant is published in the Peppol SML and is reachable through an SMP. It does not tell you which document types the company accepts, unless `includeDocumentTypes` returned them. It also says nothing about whether a company wants e-invoices. Belgian context: structured B2B e-invoicing has been mandatory in Belgium since 1 January 2026 (source: einvoice.belgium.be), so checking Peppol reachability of your Belgian counterparties is a practical first step.

### Pricing

Pay per event: event `participant-checked`, $1.50 per 1,000 answers (the price is set in the Apify Console).

- Charged: every row with `status: ok`, registered or not.
- Free: `invalid_identifier` and `lookup_error` rows.
- `maxItems` caps the charged answers per run, and the Console's maximum cost per run is respected.
- Example: 2,000 identifiers, 1,900 valid and 100 invalid: 1,900 answers = $2.85.

### Use with AI agents (MCP, Claude, Cursor, n8n, Make)

The Actor can be called by AI agents through the Apify MCP server.

```json
{ "mcpServers": { "apify": { "url": "https://mcp.apify.com?tools=goobertje/peppol-participant-lookup" } } }
```

Sign in with OAuth in the browser on first use. Example prompts:

1. "Is Belgian company 0403.199.702 on Peppol?" runs `{"identifiers": ["0403.199.702"]}`.
2. "Which of these Norwegian organisation numbers can receive Peppol invoices: 923609016, 914778271?" runs `{"identifiers": ["923609016", "914778271"], "defaultScheme": "0192"}`.
3. "Check this VAT number on Peppol and show which SMP it uses: BE0202239951" runs `{"identifiers": ["9925:BE0202239951"]}`.

In n8n, Make or Zapier use the Apify node or module, pick this Actor and paste the same JSON.

### Use cases

- Before sending your first Belgian B2B e-invoice, check which customers are reachable on Peppol.
- Clean a supplier list: flag who can already send you invoices over Peppol.
- Chain with [goobertje/belgium-kbo-company-registry](https://apify.com/goobertje/belgium-kbo-company-registry): enterprise numbers in, Peppol status out.
- Chain with [goobertje/norway-company-registry](https://apify.com/goobertje/norway-company-registry) and use scheme `0192` for Norwegian organisation numbers.
- Monitor onboarding: schedule a run weekly and compare `registered` over time.

### FAQ

**Where does the data come from, and is it allowed?** From the public Peppol SML DNS, the same lookup every Access Point makes. SMP servers are contacted only if you ask for document types and their robots.txt allows it.

**How fresh is it?** Live. Each run queries DNS directly, so a new registration shows up as soon as the SML publishes it (DNS caching may delay it a little).

**What does a typical run cost?** About $1.50 per 1,000 valid identifiers. See Pricing.

**What happens when DNS fails?** Failed lookups are retried. If they still fail you get a free `lookup_error` row. A run where every lookup fails ends as failed.

**Can I schedule it?** Yes, use an Apify schedule with the same input. There is no delta mode: every run answers every identifier.

**What is not included?** Company names or addresses, the document types of SMPs that disallow automated access, and any statement about which documents a company really accepts.

### Limits and honest caveats

- The SML can change. The zone is configurable with `smlZone`; the default is the production zone since the OpenPeppol SML insourcing. The old edelivery.tech.ec.europa.eu zone is switched off and legacy CNAME/MD5 lookups are not used.
- Participants registered under a scheme you did not check are not found. For Belgium both schemes are checked by default. Other countries may use other schemes: pass a full id such as `0007:5560000001`.
- The check digit rules reject numbers that do not exist. Some special identifiers that fail the standard check digit will be reported as invalid.
- This is not legal or tax advice. Built by goobertje, not an official OpenPeppol product.

Found a problem or want a field added? Open an issue on the Actor page.

# Actor input Schema

## `identifiers` (type: `array`):

Company identifiers to check, 1 to 5000. Accepted forms: a full participant id "iso6523-actorid-upis::0208:0403199702", a scheme and value "0208:0403199702", or a bare number that is read with the default scheme below. Spaces, dots and dashes are removed ("BE0403.199.702" works). Check digits are verified; invalid entries give a free 'invalid_identifier' row. Duplicates are checked once. Example: \["0403199702", "9925:be0403199702"].

## `defaultScheme` (type: `string`):

How a bare number (one without a scheme prefix) is interpreted. Default: 0208 (Belgian enterprise number, KBO/BCE).

## `belgiumCheckBothSchemes` (type: `boolean`):

For a Belgian enterprise number (scheme 0208 or 9925), also check the other scheme (0208:0403199702 and 9925:be0403199702) and report registered if either resolves. Both ids appear in registeredUnder. Default: true.

## `includeDocumentTypes` (type: `boolean`):

For registered participants, try to read the document type ids from the SMP. The Actor first fetches the SMP host's robots.txt and obeys it; most SMPs disallow automated access, and those rows get documentTypesStatus 'smp_disallows_automated_access'. Slower: at most one request per second per SMP host. Default: false.

## `maxItems` (type: `integer`):

Stop after this many checked participants are delivered and charged, 1 to 100000. Status rows (invalid identifier, lookup error) are free and do not count. Default: 1000.

## `concurrency` (type: `integer`):

How many identifiers are resolved at the same time, 1 to 20. DNS answers are fast, so the default is fine. Default: 5.

## `smlZone` (type: `string`):

DNS zone of the Peppol SML that is queried. Leave empty for the production zone. Use participant.sml.test.tech.peppol.org for the Peppol test network. Default: participant.sml.prod.tech.peppol.org.

## Actor input object example

```json
{
  "identifiers": [
    "0403199702",
    "0202239951",
    "0123450019"
  ],
  "defaultScheme": "0208",
  "belgiumCheckBothSchemes": true,
  "includeDocumentTypes": false,
  "maxItems": 100,
  "concurrency": 5,
  "smlZone": "participant.sml.prod.tech.peppol.org"
}
```

# Actor output Schema

## `participants` (type: `string`):

Peppol registration answer per identifier.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "identifiers": [
        "0403199702",
        "0202239951",
        "0123450019"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("goobertje/peppol-participant-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "identifiers": [
        "0403199702",
        "0202239951",
        "0123450019",
    ],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("goobertje/peppol-participant-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "identifiers": [
    "0403199702",
    "0202239951",
    "0123450019"
  ],
  "maxItems": 100
}' |
apify call goobertje/peppol-participant-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,goobertje/peppol-participant-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9bunzJyTaWVJxE057/builds/qdzM1hh8aQMiFxTgv/openapi.json
