---
title: "Queue an export of the ledger lines report"
method: GET
path: "/shop/reports/ledger-lines/queue"
tags: ["LedgerLines"]
---

# Queue an export of the ledger lines report

`GET /shop/reports/ledger-lines/queue`

This endpoint queues an export of the ledger lines list report.

## Query parameters

- `site_id` string, uuid
- `page` integer
- `ledger_date_from` string, date
- `ledger_date_to` string, date
- `type` 'revenue' | 'charge'
- `revenue_centre` string
- `payment_processor` string
- `payment_processor_type_id` string
- `voucher_code_id` string, object-id

## Response `200`

The job was successfully queued

- object
  - `data` QueuedJob, required
    - `id` string, uuid, required — The ID of the queued job.
    - `status` 'pending' | 'complete' | 'failed', required — The status of the queued job.
    - `output` object, required — The output of the queued job.
    - `created_at` string, date-time, required — The date and time the queued job was created.
    - `updated_at` string, date-time, required — The date and time the queued job was last updated.

## Other responses

- `400` — The request failed.
- `401` — The user is unauthenticated

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
