Skip to main content
GET
/
exports
/
{exportId}
Retrieve an export
curl --request GET \
  --url https://api.openfiskal.com/v1/exports/{exportId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-OpenFiskal-Merchant: <x-openfiskal-merchant>'
{
  "id": "<string>",
  "type": "dsfinvk",
  "status": "pending",
  "from": "2023-11-07T05:31:56Z",
  "to": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "register_id": "<string>",
  "download_url": "<string>",
  "error": {
    "message": "<string>",
    "details": {}
  },
  "completed_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.

Headers

X-OpenFiskal-Merchant
string
required

Merchant identifier returned by the merchants resource.

Path Parameters

exportId
string
required

Response

Export job returned

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

Failure information. Present only when status is failed.

completed_at
string<date-time> | null