Skip to main content

Get History Month

GET 

/api/ledger/history/months/:month

One month of the history before go-live: its opening, purchases, closing and COGS (figures), the measured span it belongs to, the count rows that close it (each product's latest count in the month) and its purchase lines. Without warehouse_id the figures are for all warehouses and counts is empty.

Required scope: accounting:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token + accounting.index permission.

Request​

Responses​

OK

Response Headers
    Content-Type