curl --request GET \
--url https://api.e-invoice.be/api/lookup{
"queryMetadata": {
"identifierScheme": "iso6523-actorid-upis",
"identifierValue": "0192:991825827",
"smlDomain": "edelivery.tech.ec.europa.eu",
"timestamp": "2023-04-12T14:32:10.123456",
"version": "1.0.0"
},
"status": "success",
"errors": [
"DNS lookup failed",
"Business card not available"
],
"dnsInfo": {
"status": "success",
"smlHostname": "edelivery.tech.ec.europa.eu",
"dnsRecords": [
{
"ip": "193.140.151.175"
}
],
"error": "DNS lookup failed: no such domain"
},
"serviceMetadata": {
"status": "success",
"queryTimeMs": 245.67,
"endpoints": [
{
"status": "success",
"url": "https://ap.e-invoice.be/as4",
"documentTypes": [
{
"scheme": "busdox-docid-qns",
"value": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1"
}
],
"processes": [
{
"processId": {
"scheme": "cenbii-procid-ubl",
"value": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"
},
"endpoints": [
{
"transportProfile": "peppol-transport-as4-v2_0",
"address": "https://ap.e-invoice.be/as4",
"serviceActivationDate": "2022-01-01T00:00:00Z",
"serviceExpirationDate": "2025-01-01T00:00:00Z",
"serviceDescription": "Company XYZ's AP service",
"technicalContactUrl": "https://support.e-invoice.be",
"technicalInformationUrl": "https://api.e-invoice.be",
"certificate": {
"status": "success",
"details": {},
"error": "Certificate expired"
}
}
]
}
],
"error": "Connection timeout"
}
],
"error": "Service unavailable"
},
"businessCard": {
"status": "success",
"entities": [
{
"name": "Example Corporation Ltd",
"countryCode": "NO",
"registrationDate": "2021-06-15T00:00:00Z",
"additionalInformation": [
"VAT: BE1018265814",
"Organization number: 1018.265.814"
]
}
],
"queryTimeMs": 123.45,
"error": "Business card not found"
},
"certificates": [
{
"status": "success",
"details": {},
"error": "Certificate expired"
}
],
"executionTimeMs": 895.32
}Lookup Peppol ID. The peppol_id must be in the form of <scheme>:<id>. The scheme is a 4-digit code representing the identifier scheme, and the id is the actual identifier value. For example, for a Belgian company it is 0208:0123456789 (where 0208 is the scheme for Belgian enterprises, followed by the 10 digits of the official BTW / KBO number).
curl --request GET \
--url https://api.e-invoice.be/api/lookup{
"queryMetadata": {
"identifierScheme": "iso6523-actorid-upis",
"identifierValue": "0192:991825827",
"smlDomain": "edelivery.tech.ec.europa.eu",
"timestamp": "2023-04-12T14:32:10.123456",
"version": "1.0.0"
},
"status": "success",
"errors": [
"DNS lookup failed",
"Business card not available"
],
"dnsInfo": {
"status": "success",
"smlHostname": "edelivery.tech.ec.europa.eu",
"dnsRecords": [
{
"ip": "193.140.151.175"
}
],
"error": "DNS lookup failed: no such domain"
},
"serviceMetadata": {
"status": "success",
"queryTimeMs": 245.67,
"endpoints": [
{
"status": "success",
"url": "https://ap.e-invoice.be/as4",
"documentTypes": [
{
"scheme": "busdox-docid-qns",
"value": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1"
}
],
"processes": [
{
"processId": {
"scheme": "cenbii-procid-ubl",
"value": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"
},
"endpoints": [
{
"transportProfile": "peppol-transport-as4-v2_0",
"address": "https://ap.e-invoice.be/as4",
"serviceActivationDate": "2022-01-01T00:00:00Z",
"serviceExpirationDate": "2025-01-01T00:00:00Z",
"serviceDescription": "Company XYZ's AP service",
"technicalContactUrl": "https://support.e-invoice.be",
"technicalInformationUrl": "https://api.e-invoice.be",
"certificate": {
"status": "success",
"details": {},
"error": "Certificate expired"
}
}
]
}
],
"error": "Connection timeout"
}
],
"error": "Service unavailable"
},
"businessCard": {
"status": "success",
"entities": [
{
"name": "Example Corporation Ltd",
"countryCode": "NO",
"registrationDate": "2021-06-15T00:00:00Z",
"additionalInformation": [
"VAT: BE1018265814",
"Organization number: 1018.265.814"
]
}
],
"queryTimeMs": 123.45,
"error": "Business card not found"
},
"certificates": [
{
"status": "success",
"details": {},
"error": "Certificate expired"
}
],
"executionTimeMs": 895.32
}Peppol ID in the format <scheme>:<id>. Example: 0208:1018265814 for a Belgian company.
Successful Response
Response from a Peppol ID lookup operation.
This model represents the complete result of validating and looking up a Peppol ID in the Peppol network, including DNS information, service metadata, business card details, and certificate information.
Example: A successful lookup for a Peppol ID "0192:991825827" would return DNS information, service metadata with supported document types and processes, business card information with organization details, and certificate data.
Metadata about the query that was performed
Show child attributes
Scheme of the identifier, typically 'iso6523-actorid-upis'
"iso6523-actorid-upis"
The actual Peppol ID value being queried
"0192:991825827"
Domain of the SML (Service Metadata Locator) used for the lookup
"edelivery.tech.ec.europa.eu"
ISO 8601 timestamp of when the query was executed
"2023-04-12T14:32:10.123456"
Version of the API used for the lookup
"1.0.0"
Overall status of the lookup: 'success' or 'error'
"success"
List of error messages if any errors occurred during the lookup
[
"DNS lookup failed",
"Business card not available"
]Information about the DNS lookup performed
Show child attributes
Status of the DNS lookup: 'success', 'error', or 'pending'
"success"
Hostname of the SML used for the query
"edelivery.tech.ec.europa.eu"
Error message if the DNS lookup failed
"DNS lookup failed: no such domain"
Service metadata information for the Peppol participant
Show child attributes
Status of the service metadata lookup: 'success', 'error', or 'pending'
"success"
Time taken to query the service metadata in milliseconds
245.67
List of endpoints found for the Peppol participant
Show child attributes
Status of the endpoint lookup: 'success', 'error', or 'pending'
"success"
URL of the endpoint
"https://ap.e-invoice.be/as4"
List of document types supported by this endpoint
Show child attributes
Scheme of the document type identifier
"busdox-docid-qns"
Value of the document type identifier
"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1"
List of processes supported by this endpoint
Show child attributes
Identifier of the process
List of endpoints supporting this process
Show child attributes
Transport profile used by this endpoint
"peppol-transport-as4-v2_0"
URL or address of the endpoint
"https://ap.e-invoice.be/as4"
ISO 8601 date when the service was activated
"2022-01-01T00:00:00Z"
ISO 8601 date when the service will expire
"2025-01-01T00:00:00Z"
Human-readable description of the service
"Company XYZ's AP service"
URL for technical contact information
"https://support.e-invoice.be"
URL for technical documentation
"https://api.e-invoice.be"
Certificate information for this endpoint
Show child attributes
Status of the certificate validation: 'success', 'error', or 'pending'
"success"
Details about the certificate including subject, issuer, validity dates, etc.
Error message if certificate validation failed
"Certificate expired"
Error message if endpoint lookup failed
"Connection timeout"
Error message if service metadata lookup failed
"Service unavailable"
Business card information for the Peppol participant
Show child attributes
Status of the business card lookup: 'success', 'error', or 'pending'
"success"
List of business entities associated with the Peppol ID
Show child attributes
Name of the business entity
"Example Corporation Ltd"
ISO 3166-1 alpha-2 country code of the business entity
"NO"
ISO 8601 date of when the entity was registered in Peppol
"2021-06-15T00:00:00Z"
Additional information about the business entity
[
"VAT: BE1018265814",
"Organization number: 1018.265.814"
]Time taken to query the business card in milliseconds
123.45
Error message if business card lookup failed
"Business card not found"
List of certificates found for the Peppol participant
Show child attributes
Status of the certificate validation: 'success', 'error', or 'pending'
"success"
Details about the certificate including subject, issuer, validity dates, etc.
Error message if certificate validation failed
"Certificate expired"
Total execution time of the lookup operation in milliseconds
895.32