Skip to main content
GET
Get a cash certificate

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.

Path Parameters

certificateId
string
required

Response

Certificate returned

id
string
required
vat_id
string
required

The DIČ the certificate is issued to (its subject CN), the merchant's vat_id.

Example:

"CZ27082440"

serial_number
string
required

Serial number, hex, as the tax portal lists it.

Example:

"15584C0A86BB6E65CC5C7097792CB26481A9A6AD"

valid_from
string<date-time>
required
valid_to
string<date-time>
required

When it expires (366 days after issue). Upload its successor before: sales cannot be signed after.

status
enum<string>
required

active: sales are signed with it now (of the valid certificates issued to the merchant's current DIČ, the one that expires last). standby: valid, but another one expires later. scheduled: valid from a later date, e.g. a successor uploaded ahead. expired: past valid_to. superseded: issued to a DIČ the merchant no longer has.

Available options:
scheduled,
active,
standby,
expired,
superseded
created_at
string<date-time>
required
description
string | null
Maximum string length: 64