---
title: "Get the customer Transactions timeline"
method: GET
path: "/activity"
tags: ["Books"]
---

# Get the customer Transactions timeline

`GET /activity`

## Request

- Base URL: `https://api.app.lastaccountingcompany.com/portal`
- URL: `https://api.app.lastaccountingcompany.com/portal/activity`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/docs/activity/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the portal presentation over imported book rows and, for mirror service, authority-covered financial-account observations outside the current footed import. This is an orientation view, not a general-ledger API: observations do not enter GL, VAT, Home metrics, Analytics, close, or filing figures. Use `/sheet?tab=books` or MCP `get_books` for canonical accounting rows.

## Query parameters

- `range` string
- `customer_id` string
- `filter` 'all' | 'new' | 'imported'
- `limit` integer
- `offset` integer
- `sort` 'newest' | 'oldest' | 'amount' | 'category' | 'status'
- `dimension_axis_id` string
- `dimension_value_id` string

## Response `200`

Portal-only activity presentation with server-owned counts and paging.

- PortalActivity: Customer presentation response. In mirror mode, top-level rows remain empty and the interleaved non-accounting timeline is isolated under activity. Full service retains the canonical sheet shape.
  - `customer` object
  - `active_tab` 'books' | 'vat'
  - `sheet_status` object
  - `selected_range` string
  - `available_ranges` object[]
  - `summary_cards` object[]
  - `columns` object[]
  - `rows` object[]
  - `row_window` object: Pagination window, present when the response is paginated.
  - `sort` string
  - `coverage` object: Provider-neutral authority, book-boundary, source, account, and freshness facts.
  - `activity` object
    - `revision` string, required: Opaque page-coherence token; clients reset to page zero when it changes.
    - `filter` 'all' | 'new' | 'imported', required
    - `filters` object[], required
    - `counts` object, required
    - `columns` object[], required
    - `rows` object[], required
    - `row_window` object
    - `sort` string

## 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.dev/lastaccountingcompany/apis/lac-customer-api.md) - [All operations](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lastaccountingcompany/apis/lac-customer-api/revisions/52e277b4f031?raw)
