Peppol

v0.2.1
io.github.pipeworx-io/peppol Checked 22 hours ago Published 28 days ago

Peppol 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.

ParameterTypeDescription
participantId *stringPeppol 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…
environmentstring"production" (default) queries the live Peppol network. "test" queries the pilot SML (acc.edelivery.tech.ec.europa.eu).
schemestringIdentifier 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.

ParameterTypeDescription
documentTypeId *stringFull 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 *stringPeppol participant identifier, e.g. "0192:989995278".
documentTypeSchemestringDocument type scheme, default "busdox-docid-qns".
environmentstring"production" (default) or "test".
schemestringParticipant 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.

ParameterTypeDescription
q *stringFree-text query: company name, VAT number, or organisation number, e.g. "Atelier OSLO" or "1021916675".
countrystringOptional 2-letter ISO country code filter, e.g. "NO", "BE", "DE".
limitnumberMax matches to return, 1-100. Default 10.