BoringBooks API reference

income_statement

POST /api/v1/queries/income_statement

Base URL: https://boringbooks.io.

Request body

FieldTypeRequiredDescription
from_datestring (date)yesThe first date included in the statement.
ledger_idstring (uuid)yes
to_datestring (date)yesThe last date included in the statement. Must be on or after from_date.

Example:

{
  "from_date": "2026-01-01",
  "ledger_id": "11111111-1111-4111-8111-111111111111",
  "to_date": "2026-09-15"
}

Response (200)

FieldTypeRequiredDescription
currencyCurrencyyes
expensesAmountyes
from_datestring (date)yes
net_incomeAmountyes
revenueAmountyes
rowsarray of objectyes
rows[].account_idstring (uuid)yes
rows[].amountAmountyes
rows[].codestringyes
rows[].namestringyes
rows[].typestringyes
to_datestring (date)yes

Shared types

Fields typed with one of these names refer to it.

Errors

Every error response is a single error object with a closed type and a refining code. The codes, and the conventions every operation shares, are in llms-full.txt.