---
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`

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.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
