Lookup Peppol participant
Looks up a participant by tax identification number (DIČ) through SML/SMP. If no participant is found, the response is HTTP 200 with found=false and participant=null.
Call limits: rate limits by endpoint.
curl -X GET "https://einvoice-v1-ynyiur6quq-ey.a.run.app/v1/sapi-plus/participant/lookup?dic=example_string&schemeId=0245&documentTypeId=example_string" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
import requests
import json
url = "https://einvoice-v1-ynyiur6quq-ey.a.run.app/v1/sapi-plus/participant/lookup?dic=example_string&schemeId=0245&documentTypeId=example_string"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://einvoice-v1-ynyiur6quq-ey.a.run.app/v1/sapi-plus/participant/lookup?dic=example_string&schemeId=0245&documentTypeId=example_string", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://einvoice-v1-ynyiur6quq-ey.a.run.app/v1/sapi-plus/participant/lookup?dic=example_string&schemeId=0245&documentTypeId=example_string", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://einvoice-v1-ynyiur6quq-ey.a.run.app/v1/sapi-plus/participant/lookup?dic=example_string&schemeId=0245&documentTypeId=example_string')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
response = http.request(request)
puts response.body
{
"found": true,
"participant": {
"participantId": "example_string",
"schemeId": "example_string",
"identifier": "example_string",
"registeredAt": "2024-12-25T10:00:00Z",
"capabilities": [
{
"documentTypeId": "example_string",
"processId": "example_string",
"transportProfile": "example_string"
}
]
},
"lookupTimestamp": "2024-12-25T10:00:00Z"
}
{
"error": "Bad Request",
"message": "The request contains invalid parameters or malformed data",
"code": 400,
"details": [
{
"field": "email",
"message": "Invalid email format"
}
]
}
{
"error": "Unauthorized",
"message": "Authentication required. Please provide a valid API token",
"code": 401
}
{
"error": "Service Unavailable",
"message": "The service is temporarily unavailable. Please try again later",
"code": 503
}
/v1/sapi-plus/participant/lookup
Target server for requests. Edit to use your own host.
Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically
Slovak tax identification number (DIČ), with or without the SK prefix.
Identifier scheme.
Full identifier of the supported document type.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). Authentication token required.
Query Parameters
Slovak tax identification number (DIČ), with or without the SK prefix.
Identifier scheme.
Full identifier of the supported document type.