Skip to main content
POST
Trigger an export

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
type
enum<string>
required

Country-specific fiscal export type.

Available options:
dsfinvk
Example:

"dsfinvk"

from
string<date-time>
required
Example:

"2026-03-01T00:00:00.000Z"

to
string<date-time>
required
Example:

"2026-03-31T23:59:59.000Z"

register_id
string

Optional register to scope the export to. When omitted, the export covers all eligible registers for the merchant under the matching fiscal regime.

Example:

"reg_01HABC"

Response

Export job enqueued

id
string
required
type
enum<string>
required

Country-specific fiscal export type.

Available options:
dsfinvk
status
enum<string>
required
Available options:
pending,
completed,
failed
from
string<date-time>
required
to
string<date-time>
required
created_at
string<date-time>
required
register_id
string | null
download_url
string | null

Signed URL to download the export artifact. Present only when status is completed.

error
object | null

Failure information. Present only when status is failed.

completed_at
string<date-time> | null