Documents (SAPI)List received documents

List received documents

Lists metadata. Retrieve the XML through the detail endpoint; pass nextPageToken as pageToken. V1 does not describe the result order consistently.

curl -X GET "https://einvoice-v1-ynyiur6quq-ey.a.run.app/v1/sapi/document/receive?pageToken=example_string&limit=20&status=RECEIVED" \
  -H "Content-Type: application/json" \
  -H "X-Peppol-Participant-Id: example_string" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
{
  "documents": [
    {
      "documentId": "example_string",
      "documentTypeId": "example_string",
      "processId": "example_string",
      "senderParticipantId": "example_string",
      "receiverParticipantId": "example_string",
      "clientDocumentId": "example_string",
      "receivedAt": "2024-12-25T10:00:00Z",
      "status": "RECEIVED",
      "payloadFormat": "XML"
    }
  ],
  "nextPageToken": "example_string"
}
GET
/v1/sapi/document/receive
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically

query
pageTokenstring

Token from nextPageToken in the previous response.

query
limitinteger

Number of results per page.

Max: 100
query
statusstring

Status filter.

Options: RECEIVED, ACKNOWLEDGED
header
X-Peppol-Participant-Idstring
Required

The company authorized for this operation; when sending, it matches metadata.senderParticipantId.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). Authentication token required.

Query Parameters

pageTokenstring

Token from nextPageToken in the previous response.

limitinteger

Number of results per page.

statusstring

Status filter.

Allowed values:RECEIVEDACKNOWLEDGED

Headers

X-Peppol-Participant-Idstring
Required

The company authorized for this operation; when sending, it matches metadata.senderParticipantId.

Responses

documentsarray
nextPageTokenstring

Absent or null when there is no next page.