HeadHoncho

Get balance statement

Get balance statement is a read in the HeadHoncho API. Every line on a technician's balance for a period, with the running balance: cuts, parts, cash held and each payout, voided ones marked.

Read as Markdown

The request

Reference for Get balance statement, HeadHoncho API v1. It is a read, sent to the base address https://api.headhoncho.app.

GET /api/v1/balances/{worker_id}/statement

The key needs the Money area at read. An answered call costs 1 credit; a refusal costs nothing. See credits.

Send your key as Authorization: Bearer hh_live_.... See API keys.

Parameters

NameKindRequiredDescriptionExample
worker_idid, in the pathYesThe technician, from Who am I's technicians.wrk_7a12
fromdate, in the queryNoFirst day. Default: the first of this month.2026-10-01
todate, in the queryNoLast day, included. Default: today.2026-10-31

Try it with your key

Paste your key and change the values. The box builds the call as a cURL line and a fetch line, ready to copy. It never sends anything itself.

Your key stays in this page and is never sent anywhere. Copy the line below and run it yourself.

What comes back

worker_id, name, from, to, opening_balance (everything before the period), lines (id, kind: ledger or payout, label, job_id, job_number, amount, delta, running_balance, on, memo, voided, void_reason) and closing_balance, which is the balance on the last day.

It never changes a record. It only reads the companies the key reaches.

Every field in the answer

Types are read from the example answer. Money is a plain number in the company's currency. A time carries its offset from UTC (Z is UTC). Ids are opaque text. A field with no line of its own here has its name spelled out; the common fields mean the same on every page.

FieldTypeMeaning
worker_idid (text)The id of the worker.
nametextThe name, as the app shows it.
fromdate (YYYY-MM-DD)The first day of the range, inclusive.
todate (YYYY-MM-DD)The last day of the range, inclusive.
opening_balancemoney (number)The balance at the start of the range. In the company's currency.
lineslist of objectsThe lines, oldest first.
lines[].idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
lines[].kindtextWhat sort of thing this is.
lines[].labeltextThe name the app shows for it.
lines[].job_idid (text)The id of the job.
lines[].job_numberwhole numberThe job number people say out loud.
lines[].amountmoney (number)The amount. In the company's currency.
lines[].deltamoney (number)How much this line moved the balance. In the company's currency.
lines[].running_balancemoney (number)The balance after this line. In the company's currency.
lines[].ondate (YYYY-MM-DD)The date it happened, as a date in the company's time zone.
lines[].memotextA free-text note on the line. Empty when there is none.
lines[].voidedtrue or falseTrue when the line was voided. A voided line counts in no figure.
lines[].void_reasontextWhy it was voided. Empty when it was not.
closing_balancemoney (number)The balance at the end of the range. In the company's currency.

Errors that apply

CodeStatusWhat it means
`missing_key`401Send your key as Authorization: Bearer hh_live_...
`unknown_key`401That key is not one we issued, or it was revoked.
`no_access`403This credential does not reach that. Ask the person who made it for access.
`not_found`404No such record in the companies this credential reaches.
`invalid`422Some fields were refused. See fields.
`no_credits`402Out of credits. Top up on Settings › Credits, or turn on auto top-up.