Obsah

REST API

Test Access Point URL

https://peppol.eso9.cz/accesspoint

Production Access Point URL

https://eso9peppol.eu/accesspoint

Basic communication verification

Authentication

{
    "username":"CZ27624609",
    "password":"xxxxxxxxxxxxxx"
}
{
    "statusCode": 200,
    "message": "89puKGciOiJIUzI1NiJ9.eyJzdWIiOiJDWjI3NjI0NjA5IiwiaWF0IjoxNzYzNjrUijc2987leHAiOjE3NjM2MzY2NzZ9.Gwz0M1N_gycoar_Ir3UbDRC0_nbBucqc_943l-bkeiE",
    "timestamp": "2025-11-20 09:24:36"
}

Example

curl --location '{URL}/api/auth' \
--header 'Content-Type: application/json' \
--data '{
    "username":"CZ27624609",
    "password":"xxxxxxxxxxxxxx"
}'

Sending documents

Validates and sends one document.

{
    "statusCode": 200,
    "message": 70,
    "timestamp": "2025-11-20 09:53:28"
}

Example

curl --location '{URL}/api/peppol/send' \
--header 'X-PEPPOL-RECEIVER: 9929:CZ27624609' \
--header 'X-PEPPOL-DOC-TYPE: Generic.Invoice' \
--header 'Content-Type: application/xml' \
--header 'Authorization: Bearer ••••••' \
--data-raw '<ns4:Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" .... '

Receiving documents

Receipt of a single document.

{
    "statusCode": 200,
    "message": "",
    "timestamp": "2025-11-28 13:00:45",
    "document": "<as4:Invoice> ... </as4:Invoice>\n",
    "documentType": "Generic.Invoice"
}

Example

curl --location '{URL}/peppol/receive' \
--header 'X-PEPPOL-DOCUMENT-ID: 9999' \
--header 'Authorization: Bearer ••••••'

Retrieval of all documents

Retrieves a list of all documents (sent and received) without including their payload.

{
    "statusCode": 200,
    "message": [
        {
            "id": 1,
            "documentType": "busdox-docid-qns::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",
            "processType": "cenbii-procid-ubl::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0",
            "instanceUuid": "b8702472-9949-48d0-aeb3-b7aee49b37c8",
            "transmissionMessageUUID": "86b9c5c9-41dc-48e1-a9a5-3a9fbf098b10@ca65f6a4ac26",
            "senderId": "9950:sk2022706521",
            "receiverId": "9929:cz27624609",
            "c1CountryCode": "SK",
            "c4CountryCode": "CZ",
            "status": 1,
            "dtCreated": "2026-02-11T11:37:50",
            "dtUpdated": "2026-02-11T11:37:50",
            "direction": 1,
            "c2seatid": "POP000845",
            "c3seatid": "POP000845",
            "subjectId": 1
        },
        ....
 ],
    "timestamp": "2026-02-16 11:46:38"
}

Example

curl --location 'https://peppol.eso9.cz/accesspoint/api/peppol/documents?from=2026-01-01T15%3A00%3A00&to=2026-02-15T00%3A00%3A00' \
--header 'Authorization: Bearer ••••••'

Retrieval of previously undownloaded documents

Retrieves a list of documents with the status “not yet downloaded” in the Access Point.

{
    "statusCode": 200,
    "message": [
        {
            "id": 1,
            "sender": "9950:sk2022706521",
            "resolvedDocumentFileType": "Generic.Invoice",
            "documentTypeIdentifier": "busdox-docid-qns::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",
            "processTypeIdentifier": "cenbii-procid-ubl::urn:fdc:peppol.eu:2017:poacc:billing:01:1.0"
        },
        ....
    ],
    "timestamp": "2026-02-16 11:54:40"
}

Example

curl --location 'https://peppol.eso9.cz/accesspoint/api/peppol/undownloaded' \
--header 'Authorization: Bearer ••••••'
DokuWiki Appliance - Powered by TurnKey Linux