Werk eerst uw account en leveranciersprofiel af. Daarna gebruikt uw toepassing dezelfde gegevens voor elk document.
01
Maak uw Peppox-account
Registreer de juridische onderneming die documenten verstuurt.
02
Vul het leveranciersprofiel in
Bedrijfs-, btw-, bank- en Peppol-routeringsgegevens komen uit uw account.
03
Open de integratieomgeving
Test veilig met de dashboardtools voordat u naar productie gaat.
04
Kopieer uw API-sleutel
Bewaar hem uitsluitend op uw server; nooit in browser- of mobiele code.
02 · Kies de kortste route
Vertrek van de gegevens die u al hebt
GROEP 1 · PDF2PEPPOLSnelste API-route van A tot Z
PDF
Stuur één PDF. Peppox doet het Peppol-werk.
Uw systeem stuurt één PDF-bestand. Peppox leest de gegevens veilig uit, maakt de UBL XML, past Peppol-standaarden toe en valideert het document.
1 · PDF uploaden
2 · Controleren
3 · Bevestigen
4 · Versturen via Peppol
Bekijk dit proces →GROEP 2 · GESTRUCTUREERDE FACTUUR-APIERP / boekhouding / SaaS
{ }
Bouw en beheer elk documentveld.
Gebruik deze endpointreeks wanneer uw ERP of software de factuurgegevens beheert en nauwkeurige controle nodig heeft over hoofding, regels, PDF en UBL XML.
De meest directe gedocumenteerde route wanneer uw systeem al PDF-facturen maakt.
01
Upload de PDF
Stuur een bestand, Base64-inhoud of URL en bewaar de queue_guid.
POST/pdf2peppol/add
02
Controleer de uitgelezen gegevens
Vraag de status op tot de verwerking klaar is en controleer koper, totalen, btw en regels.
GET/pdf2peppol/check
03
Bevestig het document
Bevestig pas wanneer alle uitgelezen factuurgegevens correct zijn.
POST/pdf2peppol/confirm
04
Verstuur naar Peppol
Verstuur het bevestigde document en bewaar de document-GUID.
POST/pdf2peppol/send
Minimaal voorbeeld
Upload → check → confirm → send
Vervang de voorbeeldwaarden door uw sleutel en de identificatoren uit de vorige call.
pdf2peppol.sh
curl -X POST "https://api.peppox.com/pdf2peppol/add/" \
-F "supplier_id=YOUR_SUPPLIER_ID" \
-F "document_type_code=380" \
-F "pdf_file=@invoice.pdf"
# Save queue_guid, then check it
curl "https://api.peppox.com/pdf2peppol/check/?supplier_id=YOUR_SUPPLIER_ID&queue_guid=QUEUE_GUID"
curl -X POST "https://api.peppox.com/pdf2peppol/confirm/" \
-d "supplier_id=YOUR_SUPPLIER_ID" \
-d "queue_guid=QUEUE_GUID"
curl -X POST "https://api.peppox.com/pdf2peppol/send/" \
-d "supplier_id=YOUR_SUPPLIER_ID" \
-d "queue_guid=QUEUE_GUID"
04 · Gestructureerde factuur-API
Bouw een Peppol-klare factuur uit uw gegevens
Ideaal wanneer uw ERP elk factuurveld en elke regel al gestructureerd bewaart.
01
Maak de hoofding
Stuur klant, datums, valuta, betaling en levering en bewaar invoice_guid.
POST/invoice/add
02
Voeg de regels toe
Herhaal de call voor elk product of elke dienst.
POST/invoice_line/add
03
Koppel de PDF (optioneel)
Voeg de leesbare factuur toe via bestand, Base64 of URL.
POST/invoice_attach_pdf/add
04
Genereer en verstuur de UBL XML
Peppox maakt de UBL XML voor een factuur of creditnota. Wanneer deze geldig is, verstuurt de geconfigureerde Peppox-flow deze via Peppol; een aparte gestructureerde /send-call is niet nodig.
POST/xml/generate
05
Volg en beheer
Bekijk document en status in het dashboard of via de API voor verzonden documenten.
GET/doc-sent/header/list
API NOTE
Belangrijk: /xml/generate/ is gedeeld door facturen en creditnota’s. Een succesvolle XML_BUILT-respons betekent dat Peppox het document heeft gegenereerd en de geconfigureerde Peppol-verzending voortzet. Er is geen bijkomend gestructureerd /send-endpoint.
Parameters, geldige formaten, kant-en-klare aanvragen en representatieve geslaagde antwoorden. Technische veldnamen blijven bewust Engels zodat ze exact met de API overeenkomen.
01
PDF2Peppol · complete PDF send flow
POST/pdf2peppol/add/Upload a PDF and create the conversion queue+
Authenticatie: supplier_id is the active Company API key. Aliases: apikey, api_key.Geaccepteerde aanvraagformaten: GET or POST; multipart, form data or JSON
Verplicht
ParameterFormatDescription
supplier_idstringAccount API key.
PDF sourcefile or stringProvide exactly one: multipart pdf / file / invoice_pdf / document / pdf_file; or pdf_base64 / content_base64; or pdf_url / file_url / document_url / url.
Optioneel
ParameterFormatDescription
document_type_code380 or 381380 by default; 381 is a credit note. Aliases: invoice_type_code, document_type, type.
networkproduction or integrationproduction by default. Aliases: net_work, environment.
filenamestringUsed with a Base64 or URL source; a .pdf extension is normalised.
Maximum PDF size: 15 MB. The file must start with a valid PDF signature.
Store queue_guid. It is the state identifier for check, confirm and send.
The response contains the account monthly PDF conversion quota state.
GET/pdf2peppol/check/Read extraction results and Peppol readiness+
Authenticatie: supplier_id is the active Company API key. Aliases: apikey, api_key.Geaccepteerde aanvraagformaten: GET or POST; query string, form data or JSON
Verplicht
ParameterFormatDescription
supplier_idstringSame value used at upload.
queue_guidstringThe queue GUID returned by /pdf2peppol/add/. Alias: guid.
Poll this endpoint while conversion is pending; do not call confirm until ready_for_peppol is true.
Review missing_required_fields, header values, line values and totals before confirming.
POST/pdf2peppol/confirm/Confirm the converted document+
Authenticatie: supplier_id is the active Company API key. Aliases: apikey, api_key.Geaccepteerde aanvraagformaten: GET or POST; query string, form data or JSON
Verplicht
ParameterFormatDescription
supplier_idstringSame account key.
queue_guidstringThe queue GUID returned by upload. Alias: guid.
Voorbeeldaanvraag
curl -X POST "https://api.peppox.com/pdf2peppol/confirm/" \
-d "supplier_id=YOUR_API_KEY" \
-d "queue_guid=QUEUE_GUID"
Confirmation is refused if mandatory converted data is missing.
Confirm is a separate explicit action; uploading alone never sends the document.
POST/pdf2peppol/send/Send the confirmed document through Peppol+
Authenticatie: supplier_id is the active Company API key. Aliases: apikey, api_key.Geaccepteerde aanvraagformaten: GET or POST; query string, form data or JSON
Verplicht
ParameterFormatDescription
supplier_idstringSame account key.
queue_guidstringA confirmed and ready queue GUID. Alias: guid.
Voorbeeldaanvraag
curl -X POST "https://api.peppox.com/pdf2peppol/send/" \
-d "supplier_id=YOUR_API_KEY" \
-d "queue_guid=QUEUE_GUID"
Use only after the invoice header and every invoice line have been saved.
The invoice header determines document type 380. Do not add a separate document-type parameter to this call.
Peppox calculates totals and VAT subtotals from the saved invoice lines.
This is the final structured-invoice call: it creates the UBL XML and, when it is valid, continues the configured Peppol submission. There is no extra structured /send endpoint.
03
Structured credit note
POST/creditnote/add/Create a credit note header+
Authenticatie: apikey or api_key is required.Geaccepteerde aanvraagformaten: GET or POST; JSON or form data
Use only after the credit-note header and every credit-note line have been saved.
The credit-note header determines document type 381. Do not add a separate document-type parameter to this call.
Peppox calculates totals and VAT subtotals from the saved credit-note lines.
This is the final structured-credit-note call: it creates the UBL XML and, when it is valid, continues the configured Peppol submission. There is no extra structured /send endpoint.
Authenticatie: apikey query/form value, or Authorization: Bearer API_KEY.Geaccepteerde aanvraagformaten: GET or POST; apikey can also be an Authorization: Bearer token
Verplicht
ParameterFormatDescription
apikeystringAccount API key.
Optioneel
ParameterFormatDescription
profilemini | customer | fullSelects a field preset.
fieldscomma-separated namesOverrides the preset with allowed fields.
The full response contains both test and production existence results plus the EN16931 invoice endpoint lookup.
This endpoint checks discoverability; it does not create or send a document.
06 · Testen zonder code
Begrijp elke aanvraag in het dashboard voordat u code schrijft
Het Peppox-dashboard bevat begeleide formulieren die de API’s voor u aanroepen. Test echte documenten, ontdek verplichte parameters en begrijp het JSON-antwoord vóór u uw ERP koppelt.
Verbindt hoofding, regels, PDF en gegenereerde XML.
queue_guid
Verbindt de vier PDF2Peppol-calls tijdens de extractie.
document-GUID
Verbindt het einddocument met levering en reconciliatie.
Als een aanvraag mislukt
400Controleer ontbrekende of ongeldige velden.401Controleer API-sleutel en omgeving.404Controleer de GUID uit de vorige call.429Vertraag en probeer opnieuw met oplopende wachttijd.500Log de aanvraag, probeer veilig opnieuw en contacteer Peppox als het blijft duren.
Peppox
Eén koppeling met het Peppol-netwerk.
Verstuur, ontvang en monitor Peppol-documenten via één veilige API en één overzichtelijk dashboard.