Peppol
v0.2.1Peppol participant lookup (SML + SMP + Peppol Directory).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lookup_participant
Check whether a company is registered on the Peppol e-invoicing network and list every document type it accepts. Resolves the participant identifier through the Peppol SML (DNS/BDXL) to its SMP, then reads the SMP ServiceGroup — the authoritative registration check, keyless, no Peppol membership needed. Returns registered=false with the reason when the identifier has no SML record. Use search_participants first if you have a company name rather than an identifier.
| Parameter | Type | Description |
|---|---|---|
participantId * | string | Peppol participant identifier as "{schemeCode}:{value}", e.g. "0208:1021916675" (Belgian company number), "0192:989995278" (Norwegian org number), "0088:7300010000001" (GLN). The leading 4-digit schem… |
environment | string | "production" (default) queries the live Peppol network. "test" queries the pilot SML (acc.edelivery.tech.ec.europa.eu). |
scheme | string | Identifier scheme. Effectively always the default "iso6523-actorid-upis"; only override for a non-standard network. |
get_participant_endpoint
Get the AS4 delivery details a sender needs for one specific document type: transport profile, receiving endpoint URL, process identifier, and the service activation/expiration window. Call lookup_participant first to get the exact documentTypeId to pass here. An expired ServiceExpirationDate means the participant is listed but that document type is no longer deliverable.
| Parameter | Type | Description |
|---|---|---|
documentTypeId * | string | Full document type identifier value exactly as lookup_participant returned it in documentTypes[].value, e.g. "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#c… |
participantId * | string | Peppol participant identifier, e.g. "0192:989995278". |
documentTypeScheme | string | Document type scheme, default "busdox-docid-qns". |
environment | string | "production" (default) or "test". |
scheme | string | Participant identifier scheme, default "iso6523-actorid-upis". |
search_participants
Search the Peppol Directory (directory.peppol.eu, OpenPEPPOL's opt-in business-card index) by company name, VAT/organisation number or country to find a participant identifier. Use this to turn a company name into the "{schemeCode}:{value}" identifier that lookup_participant needs. Registration on the network does not require publishing a business card, so absence here is not proof a company is not on Peppol — confirm with lookup_participant.
| Parameter | Type | Description |
|---|---|---|
q * | string | Free-text query: company name, VAT number, or organisation number, e.g. "Atelier OSLO" or "1021916675". |
country | string | Optional 2-letter ISO country code filter, e.g. "NO", "BE", "DE". |
limit | number | Max matches to return, 1-100. Default 10. |