HeadHoncho

List closed balances

List closed balances is a read in the HeadHoncho API. Every balance close and payout, newest first, voided ones included, with the jobs each one covered.

Read as Markdown

The request

Reference for List closed balances, HeadHoncho API v1. It is a read, sent to the base address https://api.headhoncho.app.

GET /api/v1/closed-balances

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 queryNoOnly this technician.wrk_7a12
directiontext, in the queryNoto_worker (the company paid) or from_worker (they paid in). One of to_worker, from_worker.to_worker
methodtext, in the queryNoach, cash, check, card or other.zelle
voidedtext, in the queryNoinclude (default), hide or only. One of include, hide, only.hide
fromdate, in the queryNoPaid on or after this day.2026-10-01
todate, in the queryNoPaid on or before this day.2026-10-31
pagenumber, in the queryNoDefault 1, twenty a page.1

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

closed_balances (id, worker_id, name, paid_on, direction, method, reference, amount, jobs, voided, has_statement), total, page and pages.

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
closed_balanceslist of objectsThe closed balances.
closed_balances[].idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
closed_balances[].worker_idid (text)The id of the worker.
closed_balances[].nametextThe name, as the app shows it.
closed_balances[].paid_ondate (YYYY-MM-DD)The date it was paid.
closed_balances[].directiontextOne of to_worker, from_worker.
closed_balances[].methodtextHow it was paid, such as card or cash.
closed_balances[].referencetextThe reference the payer or the bank gave.
closed_balances[].amountmoney (number)The amount. In the company's currency.
closed_balances[].jobswhole numberThe jobs.
closed_balances[].voidedtrue or falseOne of include, hide, only.
closed_balances[].has_statementtrue or falseTrue when there is a statement.
totalwhole numberThe total, in the company's currency.
pagewhole numberThe page number, starting at 1.
pageswhole numberHow many pages there are.

The statement file

The statement PDF of a balance close stays in the app, on Finance › History: it is a drawn report, which the API does not hand out.

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.