Getting startedOverview

Doklado SAPI+

REST API for sending and receiving eInvoices via the Peppol network.

Doklado SAPI+ enables your ERP, accounting system or DMS to send and receive eInvoices via REST API. It builds on SAPI 1.0 and supplements it with Doklado extensions, especially webhooks, idempotency and participant search in the Peppol network.

Start the integration

  1. Create a test company and request activation according to the instructions Sandbox and activation.
  2. Create a SAPI+ connection, securely store the Client ID and Client Secret and get an access token.
  3. Try first call to retrieve received documents.
  4. Enable sending, status and delivery tracking, receiving and optional webhooks.

What the interface provides

AreaUsage
AuthenticationOAuth 2.0 client_credentials and token validity check
sendingSubmission of XML eInvoice for processing with Idempotency-Key
Condition and receiptsTechnical status of delivery, result of TDD reporting and MLS/AS4 receipts
ReceptionPaginated list, XML download and download confirmation
ParticipantsFind recipient by tax identification number (DIČ) and check supported documents
WebhooksSigned document and status notifications

Doklado can play the role of C2 or C3 depending on the direction of exchange. AS4 receipt confirms transport; an asynchronous MLS response provides another delivery result. Related TDD reporting to C5 has a separate status. Their meaning and available receipts can be found in the instructions Shipping status and receipts.

Integration modes

Integrating only through a REST API, your system takes care of the user interface, processing, approval, and downstream processes. Doklado ensures technical transfer, making available documents, statuses and audit events within the agreed scope.

According to the agreed service, you can supplement the integration with a web digital archive and the Doklado mobile application for manual control and work with eInvoices.

Environments and addresses

SettingSandboxProduction
Base API URL (baseUrl)https://einvoice-v1-ynyiur6quq-ey.a.run.app/v1https://einvoice-v1-yuw5qbwq4a-ey.a.run.app/v1
Authentication (authBasePath)/sapi/auth/sapi/auth
SAPI documents (sapiBasePath)/sapi/sapi
SAPI+ Extensions (sapiPlusBasePath)/sapi-plus/sapi-plus

The base URL already contains /v1. For example, call the list of documents to baseUrl + /sapi/document/receive. In the REST API reference, the paths are listed entirely from /v1; do not put the version in the URL twice.

Sandbox web application: efaktura-sandbox.doklado.sk.

Production web application: app.doklado.sk.

Send requests via HTTPS to the API server of the selected environment. Request bodies and default responses are JSON; The XML invoice is transmitted as a string in the JSON field payload. the receipt of the sent document can also be downloaded directly as XML or SOAP according to the header Accept. Complete paths can be found in endpoint overview.

generate client credentials for the relevant environment via SAPI+ links in the web application. Use the sandbox with test data.

SAPI+ and Doklado Public API

SAPI+ uses Authorization: Bearer and serves to exchange eInvoices. Doklado Public API uses the api_key header and provides separate data work operations Doklado. use credentials, paths and data models according to the appropriate interface.

SAPI and SAPI+ endpoints

sending, list, detail and document receipt confirmation are SAPI operations under /v1/sapi/document/.... SAPI+ extensions provide sending status and receipts under /v1/sapi-plus/document/send/{providerDocumentId}/... and participant lookup at GET /v1/sapi-plus/participant/lookup. Status operations and receipts are an extension of Doklado beyond the SAPI-SK v1.0 standard. The verification used internally by the web application is not part of the public reference.

Range of reference

The public REST API reference contains 12 operations: getting, checking, renewing and revoking a token, four SAPI document operations, three SAPI+ operations for reading the status of sending and deliveries, and searching for a participant. create client credentials in the web application; the internal credentials management API is not part of the public interface.