Skip to content

API reference

Look up a Peppol participant

Peppol API

GET/v1/peppol/participants/{participant}

Tells you whether a participant can receive invoices over Peppol, and in which formats.

Pass an ISO 6523 participant id as scheme:value. Treat the result as a hint before sending. Nothing is cached, and the Access Point looks up the participant again when it sends.

Path parameters

  • participantstringRequired

    The ISO 6523 participant id as scheme:value, for example 0204:991-07335-68.

Response

A 200 answer carries these fields.

  • participantstringRequired
  • reachablebooleanRequired
  • smpstring or nullRequired
  • documentTypesarray of objectRequired
    Show 3 child fields
    • idstringRequired
    • syntaxstring or nullRequired
      One of ubl, cii, null.
    • customizationstring or nullRequired

Status codes

Status Meaning
200 What the Peppol network says about this participant.
400 The participant is not in scheme:value form (invalid_participant). The registry was not asked.
401 No usable credential was sent (invalid_credentials).
502 The Peppol registry could not be asked (directory_unavailable). This says nothing about the participant.
GET/v1/peppol/participants/{participant}
Example
curl https://api.certinvo.com/v1/peppol/participants/$PARTICIPANT \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const participant = '0204:991-07335-68'

const response = await fetch(`https://api.certinvo.com/v1/peppol/participants/${participant}`, {
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

participant = "0204:991-07335-68"

response = requests.get(
    f"https://api.certinvo.com/v1/peppol/participants/{participant}",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
{
  "participant": "string",
  "reachable": true,
  "smp": "string",
  "documentTypes": [
    {
      "id": "string",
      "syntax": "ubl",
      "customization": "string"
    }
  ]
}
Success response
GET
/v1/peppol/participants/{participant}
Look up a Peppol participant
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Variables1
›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/peppol/participants/{participant}" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close