How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.
API scope
The OpenFiskal API currently supports server-to-server communication only.
Do not embed API keys in POS devices, mobile apps, browsers, or other client-side surfaces.
API key creation
Create API keys at console.openfiskal.com. Each key is tenant-scoped and country-scoped.
Store the key in your secrets manager. Treat it like any other production secret.
Key format
Keys follow the pattern of_{environment}_{country}_{random} where:
environment is test (sandbox) or live (production)
country is the lowercase ISO 3166-1 alpha-3 country code (e.g. deu, aut)
random is the opaque secret portion
Examples:
of_test_deu_abcdefgh12345678 — sandbox key for Germany
of_live_deu_… — production key for Germany
of_test_aut_… — sandbox key for Austria
The embedded country scopes every request. A deu key cannot create merchants in Austria.
Use the standard authorization header
Although the credential is an API key, the API uses the standard HTTP bearer pattern:
-H "Authorization: Bearer of_live_deu_abc123..."
This keeps the API compatible with standard API tooling, gateways, proxies, and security middleware.
Merchant scoping
For every merchant-scoped request, also send:
-H "X-OpenFiskal-Merchant: merchant_01HXYZ"
This header must contain the OpenFiskal merchant ID, not the API key.Together, a typical merchant-scoped request looks like this:
This applies to GET /merchants, GET /registers, and GET /locations. Single-resource responses (GET /merchants/{id}, POST /operations, etc.) return the object at the top level without a data wrapper.Error responses always use the error envelope, regardless of the endpoint.
Idempotency
For mutating requests that create or finalize state, send an Idempotency-Key header so retries remain safe:
Idempotency keys are required on every POST /operations, POST /operations/{id}/complete, and POST /operations/{id}/void request.The platform retains keys for 30 days. Retrying with the same key returns the original result instead of running the request again; reusing a key with a different payload returns 409 idempotency_key_conflict. See Idempotency rules.
Recommended handling
Return 401 when authentication is missing or invalid.
Return 403 when the API key is valid but not allowed to access the requested tenant, country, or merchant.
Return 412 Precondition Failed when an operation update, completion, or cancellation uses a stale If-Match value.
Return 429 Too Many Requests with Retry-After when the caller exceeds 500 requests/second per API key.
Next step
Continue with Getting started for the full onboarding and operation flow.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenFiskal Platform API","description":"Documentation for the OpenFiskal Platform API, the compliance layer for POS. Learn how to issue compliant receipts, generate Z-reports, and produce audit exports for German, Austrian, and Italian fiscal requirements through one API.","colors":{"primary":"#001A72","light":"#3D5BCC","dark":"#001052"},"logo":{"light":"https://mintcdn.com/openfiskal/qxovsukyJl4o5re7/images/OpenFiskal_Logo_Main_Hori_Blue.svg?fit=max\u0026auto=format\u0026n=qxovsukyJl4o5re7\u0026q=85\u0026s=615e680b036ab06bf14aeedd2d72b6f7","dark":"https://mintcdn.com/openfiskal/qxovsukyJl4o5re7/images/OpenFiskal_Logo_main_white.svg?fit=max\u0026auto=format\u0026n=qxovsukyJl4o5re7\u0026q=85\u0026s=afa9b600a738695c8e5d739f75eb9727"},"favicon":"https://mintcdn.com/openfiskal/BmewfJXUvnYF5kcl/images/web-app-manifest-512x512.png?fit=max\u0026auto=format\u0026n=BmewfJXUvnYF5kcl\u0026q=85\u0026s=8d14fb6d63045e9e0b82d7638367fa3c","background":{"color":{"dark":"#0A0F1F"}},"navbar":{"links":[{"href":"https://api.openfiskal.com/openapi-json","label":"OpenAPI spec"},{"href":"mailto:help@openfiskal.com","label":"Support"}]},"fonts":{"family":"Inter"},"integrations":{"posthog":{"apiKey":"phc_wZtAZkE6osudq1JRbckb44zF4QeFbzXJAsoaHC89Co6","apiHost":"https://eu.i.posthog.com","sessionRecording":true}},"contextual":{"options":["copy","view","claude","cursor","vscode"],"display":"header"},"thumbnails":{"fonts":{"family":"Inter"}},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openfiskal","hasAudioNarration":false,"actualSubdomain":"openfiskal","customDomains":["docs.openfiskal.com"],"gitSource":{"type":"github","owner":"openfiskal","repo":"platform-monorepo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{},"buildId":"6b0b53fe0b1800e3ecec5f8e","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Fiscalization API","count":64},{"language":"default","tag":"Reporting API","count":13},{"language":"default","tag":"Hosted Receipts API","count":10},{"language":"default","tag":"Registers","count":7},{"language":"default","tag":"Overview","count":6},{"language":"default","tag":"Transaction processing","count":6},{"language":"default","tag":"Exports","count":6},{"language":"default","tag":"Locations","count":5},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Czechia (EET 2.0)","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"auth","slug":"/auth","pageMetadata":{"title":"Authentication","description":"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.","href":"/auth"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`api-scope`,children:`API scope`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The OpenFiskal API currently supports server-to-server communication only.\nDo not embed API keys in POS devices, mobile apps, browsers, or other client-side surfaces.`})}),`\n`,_jsx(Heading,{level:`2`,id:`api-key-creation`,children:`API key creation`}),`\n`,_jsxs(_components.p,{children:[`Create API keys at `,_jsx(_components.a,{href:`https://console.openfiskal.com`,children:`console.openfiskal.com`}),`. Each key is tenant-scoped and country-scoped.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Store the key in your secrets manager. Treat it like any other production secret.`})}),`\n`,_jsx(Heading,{level:`2`,id:`key-format`,children:`Key format`}),`\n`,_jsxs(_components.p,{children:[`Keys follow the pattern `,_jsx(_components.code,{children:`of_{environment}_{country}_{random}`}),` where:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`environment`}),` is `,_jsx(_components.code,{children:`test`}),` (sandbox) or `,_jsx(_components.code,{children:`live`}),` (production)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`country`}),` is the lowercase ISO 3166-1 alpha-3 country code (e.g. `,_jsx(_components.code,{children:`deu`}),`, `,_jsx(_components.code,{children:`aut`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`random`}),` is the opaque secret portion`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Examples:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`of_test_deu_abcdefgh12345678`}),` — sandbox key for Germany`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`of_live_deu_…`}),` — production key for Germany`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`of_test_aut_…`}),` — sandbox key for Austria`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The embedded country scopes every request. A `,_jsx(_components.code,{children:`deu`}),` key cannot create merchants in Austria.`]}),`\n`,_jsx(Heading,{level:`2`,id:`use-the-standard-authorization-header`,children:`Use the standard authorization header`}),`\n`,_jsx(_components.p,{children:`Although the credential is an API key, the API uses the standard HTTP bearer pattern:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`-H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer of_live_deu_abc123...\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This keeps the API compatible with standard API tooling, gateways, proxies, and security middleware.`}),`\n`,_jsx(Heading,{level:`2`,id:`merchant-scoping`,children:`Merchant scoping`}),`\n`,_jsx(_components.p,{children:`For every merchant-scoped request, also send:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`-H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-OpenFiskal-Merchant: merchant_01HXYZ\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This header must contain the OpenFiskal merchant ID, not the API key.`}),`\n`,_jsx(_components.p,{children:`Together, a typical merchant-scoped request looks like this:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.openfiskal.com/v1/operations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer of_live_deu_abc123...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-OpenFiskal-Merchant: merchant_01HXYZ\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Merchant-scoped resources include:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Locations`}),`\n`,_jsx(_components.li,{children:`Registers`}),`\n`,_jsx(_components.li,{children:`Operations`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`You do not need `,_jsx(_components.code,{children:`X-OpenFiskal-Merchant`}),` when you create, update, delete, or read the merchant itself.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-envelope`,children:`Response envelope`}),`\n`,_jsxs(_components.p,{children:[`Single-resource endpoints return the resource object directly. List endpoints wrap the array in a `,_jsx(_components.code,{children:`data`}),` field:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"merchant_01HXYZ\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"legal_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Mustermann GmbH\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"merchant_01HABC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"legal_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Beispiel AG\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` : `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This applies to `,_jsx(_components.code,{children:`GET /merchants`}),`, `,_jsx(_components.code,{children:`GET /registers`}),`, and `,_jsx(_components.code,{children:`GET /locations`}),`. Single-resource responses (`,_jsx(_components.code,{children:`GET /merchants/{id}`}),`, `,_jsx(_components.code,{children:`POST /operations`}),`, etc.) return the object at the top level without a `,_jsx(_components.code,{children:`data`}),` wrapper.`]}),`\n`,_jsxs(_components.p,{children:[`Error responses always use the `,_jsx(_components.a,{href:`/errors#response-shape`,children:`error envelope`}),`, regardless of the endpoint.`]}),`\n`,_jsx(Heading,{level:`2`,id:`idempotency`,children:`Idempotency`}),`\n`,_jsxs(_components.p,{children:[`For mutating requests that create or finalize state, send an `,_jsx(_components.code,{children:`Idempotency-Key`}),` header so retries remain safe:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.openfiskal.com/v1/operations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer of_live_deu_abc123...\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-OpenFiskal-Merchant: merchant_01HXYZ\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: op-order-1001-start\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"...\": \"...\" }'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Idempotency keys are required on every `,_jsx(_components.code,{children:`POST /operations`}),`, `,_jsx(_components.code,{children:`POST /operations/{id}/complete`}),`, and `,_jsx(_components.code,{children:`POST /operations/{id}/void`}),` request.`]}),`\n`,_jsxs(_components.p,{children:[`The platform retains keys for 30 days. Retrying with the same key returns the original result instead of running the request again; reusing a key with a different payload returns `,_jsx(_components.code,{children:`409 idempotency_key_conflict`}),`. See `,_jsx(_components.a,{href:`/errors-and-limits#idempotency-rules`,children:`Idempotency rules`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`recommended-handling`,children:`Recommended handling`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Return `,_jsx(_components.code,{children:`401`}),` when authentication is missing or invalid.`]}),`\n`,_jsxs(_components.li,{children:[`Return `,_jsx(_components.code,{children:`403`}),` when the API key is valid but not allowed to access the requested tenant, country, or merchant.`]}),`\n`,_jsxs(_components.li,{children:[`Return `,_jsx(_components.code,{children:`412 Precondition Failed`}),` when an operation update, completion, or cancellation uses a stale `,_jsx(_components.code,{children:`If-Match`}),` value.`]}),`\n`,_jsxs(_components.li,{children:[`Return `,_jsx(_components.code,{children:`429 Too Many Requests`}),` with `,_jsx(_components.code,{children:`Retry-After`}),` when the caller exceeds `,_jsx(_components.code,{children:`500 requests/second`}),` per API key.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-step`,children:`Next step`}),`\n`,_jsxs(_components.p,{children:[`Continue with `,_jsx(_components.a,{href:`/getting-started`,children:`Getting started`}),` for the full onboarding and operation flow.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentication","description":"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.","href":"/auth"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API scope","slug":"api-scope","depth":2,"children":[]},{"title":"API key creation","slug":"api-key-creation","depth":2,"children":[]},{"title":"Key format","slug":"key-format","depth":2,"children":[]},{"title":"Use the standard authorization header","slug":"use-the-standard-authorization-header","depth":2,"children":[]},{"title":"Merchant scoping","slug":"merchant-scoping","depth":2,"children":[]},{"title":"Response envelope","slug":"response-envelope","depth":2,"children":[]},{"title":"Idempotency","slug":"idempotency","depth":2,"children":[]},{"title":"Recommended handling","slug":"recommended-handling","depth":2,"children":[]},{"title":"Next step","slug":"next-step","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"openfiskal","siteName":"OpenFiskal Platform API","title":"Authentication - OpenFiskal Platform API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T06:36:11.516Z","originalFileLocation":"auth.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenFiskal Platform API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - OpenFiskal Platform API\">\u003cmeta data-mint-head property=\"og:description\" content=\"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenFiskal Platform API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openfiskal.com/auth\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openfiskal.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Authentication\u0026amp;description=How+authentication%2C+merchant+scoping%2C+idempotency%2C+and+conditional+writes+work+in+the+OpenFiskal+API.\u0026amp;theme=96a525572cd4d2df0d081565\u0026amp;signature=c7d3900d56cf6ebec8f4ab3155edbebdf3e482884170ba8487da55cca580d0e8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authentication - OpenFiskal Platform API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openfiskal.mintlify.site/_mintlify/api/og/v2?division=Overview\u0026amp;title=Authentication\u0026amp;description=How+authentication%2C+merchant+scoping%2C+idempotency%2C+and+conditional+writes+work+in+the+OpenFiskal+API.\u0026amp;theme=96a525572cd4d2df0d081565\u0026amp;signature=c7d3900d56cf6ebec8f4ab3155edbebdf3e482884170ba8487da55cca580d0e8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/openfiskal/Wk-M2w58j3BibvuN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenFiskal Platform API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#001A72\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openfiskal.com/auth\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/auth.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openfiskal.com/#organization\",\"name\":\"OpenFiskal Platform API\",\"url\":\"https://docs.openfiskal.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openfiskal/qxovsukyJl4o5re7/images/OpenFiskal_Logo_Main_Hori_Blue.svg?fit=max\u0026auto=format\u0026n=qxovsukyJl4o5re7\u0026q=85\u0026s=615e680b036ab06bf14aeedd2d72b6f7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openfiskal.com#website\",\"name\":\"OpenFiskal Platform API\",\"url\":\"https://docs.openfiskal.com\",\"publisher\":{\"@id\":\"https://docs.openfiskal.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openfiskal.com/auth#webpage\",\"url\":\"https://docs.openfiskal.com/auth\",\"name\":\"Authentication\",\"description\":\"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.\",\"dateModified\":\"2026-10-14T06:36:11.516Z\",\"isPartOf\":{\"@id\":\"https://docs.openfiskal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openfiskal.com/auth#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openfiskal.com/auth#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Overview\",\"item\":\"https://docs.openfiskal.com/getting-started\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.openfiskal.com/auth\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.openfiskal.com/auth#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How authentication, merchant scoping, idempotency, and conditional writes work in the OpenFiskal API.\",\"url\":\"https://docs.openfiskal.com/auth\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openfiskal.com/auth#webpage\"},\"dateModified\":\"2026-10-14T06:36:11.516Z\",\"publisher\":{\"@id\":\"https://docs.openfiskal.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openfiskal.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenFiskal Platform API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenFiskal Platform API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/auth.md","siteName":"OpenFiskal Platform API","nav":{"global":null,"tabs":[{"tab":"Fiscalization API","pages":[{"group":"Overview","pages":[{"group":"Getting started","pages":[{"title":"Getting started","href":"/getting-started"},{"title":"Getting started · 🇩🇪 Germany","href":"/getting-started/de"},{"title":"Getting started · 🇦🇹 Austria","href":"/getting-started/at"},{"title":"Getting started · 🇮🇹 Italy","href":"/getting-started/it"}]},{"title":"Integration topology","description":"How to integrate OpenFiskal through your backend.","href":"/integration-topology"},{"title":"Authentication","href":"/auth"}]},{"group":"Transaction processing","pages":[{"title":"Register lifecycle","description":"How to create, fiscalize, update, and retire registers in the OpenFiskal API.","href":"/register-lifecycle"},{"title":"Sessions","href":"/sessions"},{"title":"Transaction lifecycle","href":"/pos-operation-ingestion"},{"title":"Payment lifecycle","href":"/payment-lifecycle"},{"title":"Decimal precision","href":"/decimal-precision"},{"title":"Offline and recovery","href":"/offline-guidance"}]},{"group":"Operations and delivery","pages":[{"title":"Errors","href":"/errors"},{"title":"Limits and platform guarantees","href":"/errors-and-limits"},{"title":"Sandbox and go-live","href":"/sandbox-and-go-live"}]},{"group":"Fiscalization API","pages":[{"group":"Merchants","pages":[{"title":"List merchants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /merchants","href":"/api-reference/merchants/list-merchants"},{"title":"Create merchant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /merchants","href":"/api-reference/merchants/create-merchant"},{"title":"Get merchant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /merchants/{merchantId}","href":"/api-reference/merchants/get-merchant"},{"title":"Update merchant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /merchants/{merchantId}","href":"/api-reference/merchants/update-merchant"}]},{"group":"Registers","pages":[{"title":"List registers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /registers","href":"/api-reference/registers/list-registers"},{"title":"Create register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /registers","href":"/api-reference/registers/create-register"},{"title":"Get register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /registers/{registerId}","href":"/api-reference/registers/get-register"},{"title":"Delete register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /registers/{registerId}","href":"/api-reference/registers/delete-register"},{"title":"Update register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /registers/{registerId}","href":"/api-reference/registers/update-register"},{"title":"Fiscalize register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /registers/{registerId}/fiscalize","href":"/api-reference/registers/fiscalize-register"},{"title":"Decommission register","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /registers/{registerId}/decommission","href":"/api-reference/registers/decommission-register"}]},{"group":"Locations","pages":[{"title":"List locations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /locations","href":"/api-reference/locations/list-locations"},{"title":"Create location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /locations","href":"/api-reference/locations/create-location"},{"title":"Get location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /locations/{locationId}","href":"/api-reference/locations/get-location"},{"title":"Delete location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /locations/{locationId}","href":"/api-reference/locations/delete-location"},{"title":"Update location","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /locations/{locationId}","href":"/api-reference/locations/update-location"}]},{"group":"Czechia (EET 2.0)","pages":[{"title":"List cash certificates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /regimes/czechia_eet2/cash-certificates","href":"/api-reference/czechia-eet-20/list-cash-certificates"},{"title":"Upload a cash certificate","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /regimes/czechia_eet2/cash-certificates","href":"/api-reference/czechia-eet-20/upload-a-cash-certificate"},{"title":"Get a cash certificate","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /regimes/czechia_eet2/cash-certificates/{certificateId}","href":"/api-reference/czechia-eet-20/get-a-cash-certificate"},{"title":"Delete a cash certificate","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /regimes/czechia_eet2/cash-certificates/{certificateId}","href":"/api-reference/czechia-eet-20/delete-a-cash-certificate"}]},{"group":"Operations","pages":[{"title":"Get operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /operations/{operationId}","href":"/api-reference/operations/get-operation"},{"title":"Create operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /operations","href":"/api-reference/operations/create-operation"},{"title":"Complete operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /operations/{operationId}/complete","href":"/api-reference/operations/complete-operation"},{"title":"Void operation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /operations/{operationId}/void","href":"/api-reference/operations/void-operation"}]}]},{"group":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"tab":"Reporting API","pages":[{"title":"Reporting API","href":"/reporting-api-getting-started"}]},{"tab":"Hosted Receipts API","pages":[{"title":"Hosted Receipts API","href":"/hosted-receipts-api"}]}]},"basePath":"","title":"Authentication - OpenFiskal Platform API","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}