Skip to main content
POST
/
registers
Create register
curl --request POST \
  --url https://api.openfiskal.com/v1/registers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-OpenFiskal-Merchant: <x-openfiskal-merchant>' \
  --data '
{
  "location_id": "loc_abc123",
  "name": "Register 1",
  "external_id": "POS-001"
}
'
{
  "id": "<string>",
  "merchant_id": "<string>",
  "location_id": "<string>",
  "name": "<string>",
  "status": "active",
  "fiscalization_status": "not_fiscalized",
  "created_at": "2023-11-07T05:31:56Z",
  "external_id": "<string>",
  "fiscalization": {
    "regime": "<string>",
    "fiscalized_at": "2023-11-07T05:31:56Z",
    "tse_serial": "<string>",
    "client_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://dev.openfiskal.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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.

Body

application/json
location_id
string
required

ID of the location this register belongs to

Example:

"loc_abc123"

name
string
required
Example:

"Register 1"

external_id
string

Your own identifier for this register

Example:

"POS-001"

Response

Register created

id
string
required
merchant_id
string
required
location_id
string
required
name
string
required
status
enum<string>
required
Available options:
active,
inactive
fiscalization_status
enum<string>
required
Available options:
not_fiscalized,
pending,
failed,
fiscalized,
decommissioned
created_at
string<date-time>
required
external_id
string | null
fiscalization
object