---
title: "Check accounting export status"
method: GET
path: "/api/v1/accounting/downloads/{downloadKey}/status"
tags: ["Accounting Export"]
---

# Check accounting export status

`GET /api/v1/accounting/downloads/{downloadKey}/status`

## Request

- Base URL: `https://xentral.xentral.biz`
- URL: `https://xentral.xentral.biz/api/v1/accounting/downloads/{downloadKey}/status`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/xentral/apis/xentral-api/docs/api/v1/accounting/downloads/:downloadKey/status/get.ts> (a function with typed inputs; its response is checked against the schema)

Check the accounting export status.

## Path parameters

- `downloadKey` string, required

## Response `200`

Operation completed successfully.

- object
  - `data` union, required
    - object
      - `status` 'pending' | 'started', required: The execution status
    - object
      - `status` 'completed', required: The execution status
      - `fileName` string, required: The file name of the downloaded file
      - `contentType` string, required: The content type of the downloaded file
      - `log` string: The log file containing error or execution information
    - object
      - `status` 'failed', required: The execution status
      - `log` string, required: The log file containing error or execution information

## Other responses

- `400`: IETF RFC 9457 Problem API compliant response
- `401`: Unable to authenticate the client
- `403`: Unable to authorize the client
- `406`: Requested resource representation does not exist.
- `415`: Resource representation send in the request is not supported.
- `429`: Too many API calls made.

---

[API](https://skmtc.dev/xentral/apis/xentral-api.md) - [All operations](https://skmtc.dev/xentral/apis/xentral-api/llms.txt) - [OpenAPI document](https://skmtc.dev/xentral/apis/xentral-api/revisions/ebe5ba2a4ed8?raw)
