---
title: "List Statement Job"
method: GET
path: "/organizations/{orgId}/statementjobs"
tags: ["StatementJob"]
---

# List Statement Job

`GET /organizations/{orgId}/statementjobs`

Retrieve a list of StatementJobs.

Retrieves a list of all StatementJobs for a specific Organization. You can filter the results based on:
* StatementJob status.
* Whether StatementJob is neither completed nor cancelled but remains active.
* The ID of the Bill the StatementJob is associated with.

You can also paginate the results for easier management.

**WARNING!**
* You can use only one of the valid Query parameters: `active`, `status`, or `billId` in any call. If you use more than one of these Query parameters in the same call, then a 400 Bad Request is returned with an error message.

## Path parameters

- `orgId` string, required

## Query parameters

- `pageSize` integer
- `nextToken` string
- `active` string
- `status` string
- `billId` string

## Response `200`

Returns list of StatementJobs

- PaginatedStatementJobResponseData
  - `data` StatementJobResponse[]
    - `id` string, required — The UUID of the entity.
    - `version` integer — The version number: - **Create:** On initial Create to insert a new entity, the version is set at 1 in the response. - **Update:** On successful Update, the version is incremented by 1 in the response.
    - `statementJobStatus` 'PENDING' | 'RUNNING' | 'COMPLETE' | 'CANCELLED' | 'FAILED' — The current status of the StatementJob. The status helps track the progress and outcome of a StatementJob.
    - `billId` string — The unique identifier (UUID) of the bill associated with the StatementJob.
    - `orgId` string — The unique identifier (UUID) of your Organization. The Organization represents your company as a direct customer of our service.
    - `includeCsvFormat` boolean — A Boolean value indicating whether the generated statement includes a CSV format. * TRUE - includes the statement in CSV format. * FALSE - no CSV format statement.
    - `presignedJsonStatementUrl` string — The URL to access the generated statement in JSON format. This URL is temporary and has a limited lifetime.
    - `jsonStatementStatus` 'LATEST' | 'STALE' | 'INVALIDATED'
    - `presignedCsvStatementUrl` string
    - `csvStatementStatus` 'LATEST' | 'STALE' | 'INVALIDATED'
    - `dtCreated` string, date-time — The date and time *(in ISO-8601 format)* when the StatementJob was created.
    - `dtLastModified` string, date-time — The date and time *(in ISO-8601 format)* when the StatementJob was last modified.
    - `createdBy` string — The unique identifier (UUID) of the user who created this StatementJob.
    - `lastModifiedBy` string — The unique identifier (UUID) of the user who last modified this StatementJob.
  - `nextToken` string

## Other responses

- `4XX` — Error message
- `5XX` — Error message

---

[API](https://skmtc.net/m3ter-com/apis/m3ter-api.md) · [All operations](https://skmtc.net/m3ter-com/apis/m3ter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/revisions/ac93d1a9e6d9/schema)
