---
title: "Drill into statement lines by account"
method: GET
path: "/statements/drill"
tags: ["Books"]
---

# Drill into statement lines by account

`GET /statements/drill`

Returns the underlying detail behind statement lines for the given GL account codes. `account_codes` is a comma-joined list (e.g. `3000,3010`). Returns JSON `null` when there is nothing to drill into.

## Query parameters

- `customer_id` string
- `range` string
- `account_codes` string, required
- `months` integer

## Response `200`

Drill payload, or null when nothing is available.

- StatementsDrill — Account-level drill-down behind statement lines. Interiors are returned as-is; amounts are integer cents.

## Other responses

- `401` — Missing or invalid bearer token.
- `403` — Insufficient scope or role — e.g. a read-scoped key on a mutating method, or an API key on an admin/approver-only endpoint.

---

[API](https://skmtc.net/lastaccountingcompany/apis/lac-customer-api.md) · [All operations](https://skmtc.net/lastaccountingcompany/apis/lac-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lastaccountingcompany/lac-customer-api/revisions/52e277b4f031/schema)
