Skip to main content
POST
/
merchants
Create merchant
curl --request POST \
  --url https://api.openfiskal.com/v1/merchants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "legal_name": "Test GmbH",
  "country_code": "DEU",
  "address": {
    "line1": "Musterstr. 1",
    "city": "Berlin",
    "postal_code": "10115",
    "country_code": "DEU",
    "line2": "Apt 4"
  },
  "fiscal_identities": [
    {
      "country_code": "DEU",
      "tax_number": "21/815/08150",
      "vat_id": "DE123456789"
    }
  ]
}
'
{
  "id": "<string>",
  "legal_name": "<string>",
  "country_code": "DEU",
  "status": "active",
  "address": {
    "line1": "<string>",
    "city": "<string>",
    "postal_code": "<string>",
    "country_code": "DEU",
    "line2": "<string>"
  },
  "fiscal_identities": [
    {
      "country_code": "DEU",
      "tax_number": "21/815/08150",
      "vat_id": "DE123456789"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

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.

Body

application/json
Example:

"Test GmbH"

country_code
string
required

ISO 3166-1 alpha-3 country code for the legal entity (uppercase)

Required string length: 3
Example:

"DEU"

address
object
required
fiscal_identities
(FiscalIdentityDEU · object | FiscalIdentityAUT · object | FiscalIdentityITA · object)[]

Country-specific fiscal identities

Response

Merchant created

id
string
required
country_code
string
required

ISO 3166-1 alpha-3 country code for the legal entity.

Required string length: 3
Example:

"DEU"

status
enum<string>
required
Available options:
active,
inactive
address
object
required
fiscal_identities
(FiscalIdentityDEU · object | FiscalIdentityAUT · object | FiscalIdentityITA · object)[]
required

Country-specific fiscal identities.

created_at
string<date-time>
required
updated_at
string<date-time>
required