Peppol delivery status (SAPI+ compatible shape)
Returns the delivery status of a Peppol send. deliveryId is the one returned by invoice-issue (with EINVOICE_FINALIZE_AND_SEND) or invoice-send. The response models the SAPI+ status of a sent document: delivery (transport + MLS of the business document) and the separate Slovak Tax Data Document reporting outcome. organizationId is not required.
curl -X POST "https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/documents/invoice-send-status" \
-H "Content-Type: application/json" \
-H "api_key: YOUR_API_KEY" \
-d '{
"data": {
"deliveryId": "example_string"
}
}'
import requests
import json
url = "https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/documents/invoice-send-status"
headers = {
"Content-Type": "application/json",
"api_key": "YOUR_API_KEY"
}
data = {
"data": {
"deliveryId": "example_string"
}
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/documents/invoice-send-status", {
method: "POST",
headers: {
"Content-Type": "application/json",
"api_key": "YOUR_API_KEY"
},
body: JSON.stringify({
"data": {
"deliveryId": "example_string"
}
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"data": {
"deliveryId": "example_string"
}
}`)
req, err := http.NewRequest("POST", "https://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/documents/invoice-send-status", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("api_key", "YOUR_API_KEY")
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://api-gateway-prod-europe-west-1-7epuecvu.ew.gateway.dev/v2/documents/invoice-send-status')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['api_key'] = 'YOUR_API_KEY'
request.body = '{
"data": {
"deliveryId": "example_string"
}
}'
response = http.request(request)
puts response.body
{
"data": {
"deliveryId": "example_string",
"documentId": "example_string",
"receivedAt": "2024-12-25T10:00:00Z",
"peppolStatus": "example_string",
"delivery": {
"status": "QUEUED",
"transport": {
"status": "QUEUED",
"acknowledgedAt": "2024-12-25T10:00:00Z",
"receiptId": "example_string",
"transmissionId": "example_string",
"nextRetryAt": "2024-12-25T10:00:00Z",
"failure": {
"code": "example_string",
"message": "example_string",
"occurredAt": "2024-12-25T10:00:00Z"
}
},
"mls": {
"status": "PENDING",
"responseCode": "AP",
"issuedAt": "2024-12-25T10:00:00Z",
"receivedAt": "2024-12-25T10:00:00Z",
"receiptId": "example_string",
"description": "example_string",
"reasons": [
{
"statusReasonCode": "example_string",
"description": "example_string",
"location": "example_string"
}
]
},
"failure": {
"code": "example_string",
"message": "example_string",
"occurredAt": "2024-12-25T10:00:00Z"
}
},
"taxReporting": {
"status": "QUEUED",
"reportId": "example_string",
"taxDataTypeCode": "example_string",
"transport": {
"status": "QUEUED",
"acknowledgedAt": "2024-12-25T10:00:00Z",
"receiptId": "example_string",
"transmissionId": "example_string",
"nextRetryAt": "2024-12-25T10:00:00Z",
"failure": {
"code": "example_string",
"message": "example_string",
"occurredAt": "2024-12-25T10:00:00Z"
}
},
"mls": {
"status": "PENDING",
"responseCode": "AP",
"issuedAt": "2024-12-25T10:00:00Z",
"receivedAt": "2024-12-25T10:00:00Z",
"receiptId": "example_string",
"description": "example_string",
"reasons": [
{
"statusReasonCode": "example_string",
"description": "example_string",
"location": "example_string"
}
]
},
"failure": {
"code": "example_string",
"message": "example_string",
"occurredAt": "2024-12-25T10:00:00Z"
}
},
"updatedAt": "2024-12-25T10:00:00Z",
"timestamp": "2024-12-25T10:00:00Z",
"invoiceNumber": "example_string"
},
"success": true,
"message": "example_string",
"code": "APP_UNAUTHENTICATED"
}
{
"error": "Forbidden",
"message": "You don't have permission to access this resource",
"code": 403
}
{
"error": "Not Found",
"message": "The requested resource was not found",
"code": 404
}
{
"error": "Internal Server Error",
"message": "An unexpected error occurred on the server",
"code": 500,
"requestId": "req_1234567890"
}
/v2/documents/invoice-send-status
Target server for requests. Edit to use your own host.
API key (sent in header)
The media type of the request body
Request Preview
Response
Response will appear here after sending the request
Authentication
API Key for authentication. Provide your API key in the header.
Body
Responses
SAPI+ compatible delivery status of a Peppol send
optional message to help user understand error code
APP_UNAUTHENTICATEDAPP_INCORRECT_INPUT_DATASAVE_DATA_ERROR_CODE