Einvoice Peppol
by Factline in Markets & finance
Peppol e-invoicing lookup: participant id and accepted documents. Use when you need to send an e-invoice or check if a company can receive one: looks the company up in the Peppol Directory by VAT number, company number (Belgian KBO, French SIREN, Dutch KvK...) or name, and returns its Peppol participant ids and accepted documents (invoice, credit note, self-billing, orders). Belgium requires Peppol B2B e-invoicing since 2026; France requires e-invoice receipt from 2026-09.
GET https://factline.dev/v1/einvoice/peppol
Last 30 days
Status and outage history · Atom feed
- Uptime
- 100%
- Response time
- 391 ms typical, 505 ms slowest 5%
- Last check
- 38 min ago
- Next check
- any minute now
How to call it
GET https://factline.dev/v1/einvoice/peppol
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://factline.dev/v1/einvoice/peppol?vat=BE0400378485Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | No | ISO country, e.g. BE, FR, NL, DE |
id | string | No | Or a company number (Belgian KBO, French SIREN, Dutch KvK, ...) or a Peppol participant id such as 0208:0400378485 |
name | string | No | Or a company name (use with country) |
vat | string | No | EU VAT number with country prefix, e.g. BE0400378485 |
Example response
The provider's example. We can't check it without paying.
Example response, 47 lines
{
"can_receive_invoices": true,
"explain": {
"mandates": "Peppol B2B e-invoicing is required in Belgium since 2026-01-01. France requires all companies to receive e-invoices from 2026-09-01 (via certified platforms; 0225 ids are French e-invoicing addresses). Germany requires all companies to receive e-invoices since 2025.",
"name_search": "A name search returns participants whose registered name matches; check the VAT or company number before sending.",
"not_found": "Not in the Peppol Directory. New registrations can take up to a day to appear, and some access points do not publish to the directory, so this is not proof the company cannot receive Peppol invoices. Ask the company for its Peppol id.",
"on_peppol": "The company is registered as a receiver on the Peppol network (via a certified access point), so you can send it e-invoices over Peppol using any of the participant ids."
},
"more_results": 0,
"on_peppol": true,
"participants": [
{
"accepts": [
"invoice",
"credit note"
],
"can_receive_invoices": true,
"country": "BE",
"name": "Colruyt Group NV",
"other_ids": [],
"participant_id": "0208:0400378485",
"registered": "2023-08-30",
"scheme": "Belgian company number (KBO/BCE)"
},
{
"accepts": [
"invoice",
"credit note"
],
"can_receive_invoices": true,
"country": "BE",
"name": "Colruyt Group NV",
"other_ids": [
"0208:0400378485"
],
"participant_id": "9925:be0400378485",
"registered": "2022-04-22",
"scheme": "Belgian VAT"
}
],
"query": {
"by": "vat",
"country": "BE",
"value": "BE0400378485"
},
"source": "Peppol Directory (OpenPeppol)"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://factline.dev/v1/einvoice/peppol?vat=BE0400378485'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://factline.dev/v1/einvoice/peppol?vat=BE0400378485' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffactline.dev%2Fv1%2Feinvoice%2Fpeppol
const res = await pay("https://factline.dev/v1/einvoice/peppol?vat=BE0400378485");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://factline.dev/v1/einvoice/peppol?vat=BE0400378485")
print(res.status_code, res.text)Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 38 min ago | Passed | 402 | 505 ms | $0.003 |
| 5 h ago | Passed | 402 | 726 ms | $0.003 |
| 9 h ago | Passed | 402 | 423 ms | $0.003 |
| 12 h ago | Passed | 402 | 186 ms | $0.003 |
| 16 h ago | Passed | 402 | 230 ms | $0.003 |
| 20 h ago | Passed | 402 | 250 ms | $0.003 |
| 24 h ago | Passed | 402 | 168 ms | $0.003 |
| 27 h ago | Passed | 402 | 447 ms | $0.003 |
| 31 h ago | Passed | 402 | 202 ms | $0.003 |
| 34 h ago | Passed | 402 | 409 ms | $0.003 |
| 38 h ago | Passed | 402 | 391 ms | $0.003 |