{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Introduction","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"introduction","__idx":0},"children":["Introduction"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"e-invoicing-document-interchange-api-specification","__idx":1},"children":["e-Invoicing Document Interchange API Specification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Public REST API provides programmatic access to an e-invoicing platform operated by a certified service provider, enabling companies to securely send, receive, and manage electronic invoices and related business documents via automated document interchange."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This OpenAPI-based specification describes all available endpoints for integrating your ERP or other business applications with the service provider’s platform, including onboarding, invoice submission, status tracking, document retrieval, and reporting."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To use the API, you must obtain access credentials from your chosen service provider."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"generating-client-libraries","__idx":2},"children":["Generating client libraries"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can generate strongly typed client libraries for various programming languages using the provided ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openapi.yaml"]}," file and the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://openapi-generator.tech/"},"children":["OpenAPI Generator"]},"."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Download the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sveracun-openapi.yaml"]}," (or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sveracun-openapi.json"]},") file from this site."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Install the OpenAPI Generator following the instructions on the project website."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Run the generator for your preferred language. For example, to generate a Java client:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"   openapi-generator-cli generate \\\n     -i sveracun-openapi.yaml \\\n     -g java \\\n     -o ./einvoice-java-client\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace java with the desired generator (for example: typescript-axios, csharp, python) and adjust the output directory as needed."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"change-log","__idx":3},"children":["Change log"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Current version as of 01.03.2026."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["New methods:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["amsCheck"]}," - checks if organization is registered in AMS by VAT number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getPdf"]}," - returns the PDF visualization generated by the platform"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Additional optional fields (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sortBy"]},",",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filterBy"]},") in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/inbox/status"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/outbox/status"]}," requests - to allow sorting and filtering by given timestamps using different criteria (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["issuedDateTime"]}," by default)."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Version as of 16.01.2026."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Methods ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getStatus"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getInternalStatus"]}," return a new field ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["internalStatusDetails"]}," containing error messages with timestamp."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Version as of 31.12.2025."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["No breaking changes"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Major change - introduction of (optional) paging on endpoints returning lists of documents"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Additional document fields in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/inbox"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/inbox/status"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/outbox/status"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["getStatus"]}]}]}]},"headings":[{"value":"Introduction","id":"introduction","depth":1},{"value":"e-Invoicing Document Interchange API Specification","id":"e-invoicing-document-interchange-api-specification","depth":3},{"value":"Generating client libraries","id":"generating-client-libraries","depth":3},{"value":"Change log","id":"change-log","depth":4}],"frontmatter":{"seo":{"title":"Introduction"}},"lastModified":"2026-03-19T10:16:25.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}