Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
X-OpenFiskal-Merchant
string
required
Merchant identifier returned by the merchants resource.
Idempotency-Key
string
Optional. A unique key per request, e.g. a UUID, at most 255 printable ASCII characters. With it, sending the request again replays the first result (marked Idempotent-Replayed: true) instead of creating a second resource; with a different request it is rejected with 409 idempotency_key_conflict. Scoped per endpoint, merchant, and tenant. Retained for 30 days. Without it, every request creates a new resource.
Body
application/json
name
string
required
Example:
"Main Store"
address
object
required
Show child attributes
timezone
string
required
Example:
"Europe/Berlin"
external_id
string
Example:
"loc-001"
fiscal_details
object | null
What the location's fiscal regime needs to know about it, one shape per regime, named by regime, which must belong to the location's country. At most one per location. czechia_eet2: required before a register at the location can be fiscalized. Left out (or null) where the regime needs nothing, e.g. in Germany.
Show child attributes
Response
Location created
id
string
required
merchant_id
string
required
name
string
required
fiscal_details
object | null
required
What the location's fiscal regime knows about it, the shape named by regime. Null until set, and where the regime needs nothing.
Show child attributes
address
object
required
Show child attributes
created_at
string<date-time>
required
external_id
string | null
timezone
string | null
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":"api-reference/locations/create-location","slug":"/api-reference/locations/create-location","pageMetadata":{"title":"Create location","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /locations","href":"/api-reference/locations/create-location","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create location","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /locations","href":"/api-reference/locations/create-location","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"LocationsController_create","parameters":["332a45f1-36a8-4522-bce8-dbf4171adeda","ac1e9e39-f7f5-4e16-b8cd-7ac41c87053f"],"requestBody":"88c87ad8-eae1-4918-afc8-5927d7db879a","responses":{"201":"a854336c-6cf9-4a13-8293-7c259df16269","400":"c323b2e2-224b-4974-b7ab-0c9ae811c91c","401":"11ffccc0-803f-4785-bbb9-89a7ef51ba18","403":"a99b3724-6c62-4a09-a6a4-cf95ffd97ec6","409":"7e511d62-5011-4a1a-adcf-06c0c9961089","422":"6554d4dc-3706-4aa6-b736-6c15c21752c2"},"security":["50b8e639-5ea7-4909-86fc-8d890d631dde"],"summary":"Create location","tags":["Locations"],"method":"post","type":"path","servers":["4bc04bc8-56cf-45df-be08-ace0ff7a8ceb","8feb6b61-69b6-4a96-a8f8-71566a5f9383"],"path":"/locations","baseUrlOptions":["https://api.openfiskal.com/v1","https://sandbox.api.openfiskal.com/v1"],"title":"Create location","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"332a45f1-36a8-4522-bce8-dbf4171adeda":{"name":"X-OpenFiskal-Merchant","in":"header","description":"Merchant identifier returned by the merchants resource.","required":true,"schema":{"type":"string","isRequired":true,"description":"Merchant identifier returned by the merchants resource.","uniqueKey":"","typeLabel":"string"}},"ac1e9e39-f7f5-4e16-b8cd-7ac41c87053f":{"name":"Idempotency-Key","required":false,"in":"header","description":"Optional. A unique key per request, e.g. a UUID, at most 255 printable ASCII characters. With it, sending the request again replays the first result (marked `Idempotent-Replayed: true`) instead of creating a second resource; with a different request it is rejected with `409 idempotency_key_conflict`. Scoped per endpoint, merchant, and tenant. Retained for 30 days. Without it, every request creates a new resource.","schema":{"type":"string","isRequired":false,"description":"Optional. A unique key per request, e.g. a UUID, at most 255 printable ASCII characters. With it, sending the request again replays the first result (marked `Idempotent-Replayed: true`) instead of creating a second resource; with a different request it is rejected with `409 idempotency_key_conflict`. Scoped per endpoint, merchant, and tenant. Retained for 30 days. Without it, every request creates a new resource.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"Main Store","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"address":{"type":"object","properties":{"line1":{"type":"string","example":"Musterstr. 1","isRequired":true,"uniqueKey":"address.line1","typeLabel":"string"},"city":{"type":"string","example":"Berlin","isRequired":true,"uniqueKey":"address.city","typeLabel":"string"},"postal_code":{"type":"string","example":"10115","isRequired":true,"uniqueKey":"address.postal_code","typeLabel":"string"},"country_code":{"type":"string","example":"DEU","minLength":3,"maxLength":3,"description":"ISO 3166-1 alpha-3 (uppercase)","isRequired":true,"uniqueKey":"address.country_code","typeLabel":"string"},"line2":{"oneOf":[{"type":"string","example":"Apt 4","uniqueKey":"address.line2.oneOf.0","typeLabel":"string"},{"type":"null","example":"Apt 4","uniqueKey":"address.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.line2","typeLabel":"string | null"}},"required":["line1","city","postal_code","country_code"],"isRequired":true,"uniqueKey":"address","typeLabel":"object"},"timezone":{"type":"string","example":"Europe/Berlin","isRequired":true,"uniqueKey":"timezone","typeLabel":"string"},"external_id":{"type":"string","example":"loc-001","uniqueKey":"external_id","typeLabel":"string"},"fiscal_details":{"oneOf":[{"type":"object","description":"What the location's fiscal regime needs to know about it, one shape per regime, named by `regime`, which must belong to the location's country. At most one per location. `czechia_eet2`: required before a register at the location can be fiscalized. Left out (or null) where the regime needs nothing, e.g. in Germany.","required":["regime","eet2_business_unit_id"],"properties":{"regime":{"type":"string","enum":["czechia_eet2"],"example":"czechia_eet2","isRequired":true,"uniqueKey":"fiscal_details.oneOf.0.regime","typeLabel":"enum\u003cstring>"},"eet2_business_unit_id":{"type":"integer","example":141,"minimum":10,"maximum":999999999,"description":"The EET 2.0 business unit id (`id_jednotky`) the tax portal assigned to these premises when the merchant registered them. Two to nine digits; the portal issues ids ending in 1 to 4. Several locations may share one.","isRequired":true,"uniqueKey":"fiscal_details.oneOf.0.eet2_business_unit_id","typeLabel":"integer"}},"uniqueKey":"fiscal_details.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"fiscal_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"fiscal_details","typeLabel":"object | null"}},"required":["name","address","timezone"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Main Store","address":{"line1":"Musterstr. 1","city":"Berlin","postal_code":"10115","country_code":"DEU","line2":"Apt 4"},"timezone":"Europe/Berlin","external_id":"loc-001","fiscal_details":{"regime":"czechia_eet2","eet2_business_unit_id":141}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a854336c-6cf9-4a13-8293-7c259df16269":{"description":"Location created","headers":{"Idempotent-Replayed":{"description":"`true` when this response replays an earlier request with the same `Idempotency-Key`.","schema":{"type":"string","enum":["true"]}}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"merchant_id":{"type":"string","isRequired":true,"uniqueKey":"merchant_id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"fiscal_details":{"oneOf":[{"type":"object","description":"What the location's fiscal regime knows about it, the shape named by `regime`. Null until set, and where the regime needs nothing.","required":["regime","eet2_business_unit_id"],"properties":{"regime":{"type":"string","enum":["czechia_eet2"],"example":"czechia_eet2","isRequired":true,"uniqueKey":"fiscal_details.oneOf.0.regime","typeLabel":"enum\u003cstring>"},"eet2_business_unit_id":{"type":"integer","example":141,"minimum":10,"maximum":999999999,"description":"The EET 2.0 business unit id (`id_jednotky`) the tax portal assigned to these premises when the merchant registered them. Two to nine digits; the portal issues ids ending in 1 to 4. Several locations may share one.","isRequired":true,"uniqueKey":"fiscal_details.oneOf.0.eet2_business_unit_id","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"fiscal_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"fiscal_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fiscal_details","typeLabel":"object | null"},"address":{"type":"object","properties":{"line1":{"type":"string","isRequired":true,"uniqueKey":"address.line1","typeLabel":"string"},"city":{"type":"string","isRequired":true,"uniqueKey":"address.city","typeLabel":"string"},"postal_code":{"type":"string","isRequired":true,"uniqueKey":"address.postal_code","typeLabel":"string"},"country_code":{"type":"string","description":"ISO 3166-1 alpha-3 country code.","minLength":3,"maxLength":3,"example":"DEU","isRequired":true,"uniqueKey":"address.country_code","typeLabel":"string"},"line2":{"oneOf":[{"type":"string","uniqueKey":"address.line2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"address.line2.oneOf.1","typeLabel":"null"}],"uniqueKey":"address.line2","typeLabel":"string | null"}},"required":["line1","city","postal_code","country_code"],"isRequired":true,"uniqueKey":"address","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"external_id":{"oneOf":[{"type":"string","uniqueKey":"external_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"external_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"external_id","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","uniqueKey":"timezone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"timezone","typeLabel":"string | null"}},"required":["id","merchant_id","name","fiscal_details","address","created_at"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","merchant_id":"\u003cstring>","name":"\u003cstring>","fiscal_details":{"regime":"czechia_eet2","eet2_business_unit_id":141},"address":{"line1":"\u003cstring>","city":"\u003cstring>","postal_code":"\u003cstring>","country_code":"DEU","line2":"\u003cstring>"},"created_at":"2023-11-07T05:31:56Z","external_id":"\u003cstring>","timezone":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c323b2e2-224b-4974-b7ab-0c9ae811c91c":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether retrying the request is safe.","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","description":"Additional structured context for the error.","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"required":["code","message","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","summary":"invalid_request","value":{"code":"invalid_request","message":"The request body is malformed.","retryable":false}}},"exampleType":"examples"}},"exampleType":"examples"},"11ffccc0-803f-4785-bbb9-89a7ef51ba18":{"description":"Authentication failed","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether retrying the request is safe.","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","description":"Additional structured context for the error.","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"required":["code","message","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","summary":"unauthorized","value":{"code":"unauthorized","message":"Authentication failed.","retryable":false}}},"exampleType":"examples"}},"exampleType":"examples"},"a99b3724-6c62-4a09-a6a4-cf95ffd97ec6":{"description":"Authenticated caller is not allowed to access the requested tenant, country, or merchant.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether retrying the request is safe.","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","description":"Additional structured context for the error.","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"required":["code","message","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","summary":"forbidden","value":{"code":"forbidden","message":"The authenticated caller cannot access this resource.","retryable":false}}},"exampleType":"examples"}},"exampleType":"examples"},"7e511d62-5011-4a1a-adcf-06c0c9961089":{"description":"Conflict. `idempotency_key_in_progress`, `register_busy`, `operation_in_progress` and `tse_busy` are retryable with the same key after `Retry-After`; the others are not.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether retrying the request is safe.","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","description":"Additional structured context for the error.","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"required":["code","message","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"idempotency_key_conflict":{"title":"idempotency_key_conflict","summary":"idempotency_key_conflict","value":{"code":"idempotency_key_conflict","message":"This Idempotency-Key was already used with a different request. To retry, resend the original request unchanged; for a new request, use a new key.","retryable":false,"details":{"operation_id":"cmoqk8x1z0001abcd2efgh3ij"}}},"idempotency_key_in_progress":{"title":"idempotency_key_in_progress","summary":"idempotency_key_in_progress","value":{"code":"idempotency_key_in_progress","message":"A request with this Idempotency-Key is still being processed. Retry with the same key after Retry-After.","retryable":true}}},"exampleType":"examples"}},"exampleType":"examples"},"6554d4dc-3706-4aa6-b736-6c15c21752c2":{"description":"Domain validation failed","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code.","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation of the error.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"retryable":{"type":"boolean","description":"Whether retrying the request is safe.","isRequired":true,"uniqueKey":"retryable","typeLabel":"boolean"},"details":{"type":"object","description":"Additional structured context for the error.","additionalProperties":true,"uniqueKey":"details","typeLabel":"object"}},"required":["code","message","retryable"],"uniqueKey":"","typeLabel":"object"},"examples":{"default":{"title":"default","summary":"regime_validation_failed","value":{"code":"regime_validation_failed","message":"The payload violates regime-specific validation rules.","retryable":false}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"50b8e639-5ea7-4909-86fc-8d890d631dde":{"BearerAuth":{"scheme":"bearer","bearerFormat":"API key","type":"http","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"4bc04bc8-56cf-45df-be08-ace0ff7a8ceb":{"url":"https://api.openfiskal.com/v1","description":"Production"},"8feb6b61-69b6-4a96-a8f8-71566a5f9383":{"url":"https://sandbox.api.openfiskal.com/v1","description":"Sandbox"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"API key","type":"http","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"openfiskal","siteName":"OpenFiskal Platform API","title":"Create location - OpenFiskal Platform API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-28T22:21:56.995Z","originalFileLocation":"api-reference/locations/create-location.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=\"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=\"Create location - OpenFiskal Platform 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/api-reference/locations/create-location\">\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=Locations\u0026amp;title=Create+location\u0026amp;theme=96a525572cd4d2df0d081565\u0026amp;signature=51c8c698ce0b887f3183212fa65c0a9143c2627b300f26768c9b8050e7c90cc5\">\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=\"Create location - OpenFiskal Platform API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openfiskal.mintlify.site/_mintlify/api/og/v2?division=Locations\u0026amp;title=Create+location\u0026amp;theme=96a525572cd4d2df0d081565\u0026amp;signature=51c8c698ce0b887f3183212fa65c0a9143c2627b300f26768c9b8050e7c90cc5\">\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/api-reference/locations/create-location\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/locations/create-location.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/api-reference/locations/create-location#webpage\",\"url\":\"https://docs.openfiskal.com/api-reference/locations/create-location\",\"name\":\"Create location\",\"dateModified\":\"2026-11-28T22:21:56.995Z\",\"isPartOf\":{\"@id\":\"https://docs.openfiskal.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openfiskal.com/api-reference/locations/create-location#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openfiskal.com/api-reference/locations/create-location#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fiscalization API\",\"item\":\"https://docs.openfiskal.com/api-reference/merchants/list-merchants\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Locations\",\"item\":\"https://docs.openfiskal.com/api-reference/locations/list-locations\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create location\",\"item\":\"https://docs.openfiskal.com/api-reference/locations/create-location\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openfiskal.com/api-reference/locations/create-location#apireference\",\"headline\":\"Create location\",\"name\":\"Create location\",\"url\":\"https://docs.openfiskal.com/api-reference/locations/create-location\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openfiskal.com/api-reference/locations/create-location#webpage\"},\"dateModified\":\"2026-11-28T22:21:56.995Z\",\"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":"/api-reference/locations/create-location.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","href":"/integration-topology"},{"title":"Authentication","href":"/auth"}]},{"group":"Transaction processing","pages":[{"title":"Register lifecycle","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","description":null,"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","description":null,"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":"Create location - OpenFiskal Platform API","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","SectionHeading-DyxPTJti.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}