Skip to navigation

30-day cash-flow projection

View as Markdown

The heavy half: upcoming recurring documents, recurring expenses and loan installments, the aggregate receivable/liability rows (in-due and overdue), the per-account forward projection, and the chronological walk that flags an account running out of money before the payments meant to cover it arrive.

account_projections covers only movements attributable to one of the workspace’s own accounts; unattributable ones (a recurring expense carries the supplier’s IBAN, not ours) still count toward projected_total, which is why the rows need not add up to it.

Authentication

AuthorizationBearer

JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.

OR
AuthorizationBearer

Lucanto API key. Two prefixes:

  • lct_pat_<random><checksum> — personal access token (owner: User)
  • lct_live_<random><checksum> — workspace token, live data

Issue keys at /settings/api_keys (personal) or /:workspace_id/settings/api_keys (workspace). Plaintext token is shown once and never again.

Path parameters

workspace_idlongRequired>=1
Workspace ID. The numeric ID shown in your URLs.

Response

OK
currencystring
window_daysinteger
upcoming_saldostring
Net movement over the window, in the reporting currency.
projected_totalstring
Every account balance plus the whole projection, converted.
convertibleboolean
unconvertible_currencieslist of strings
eventslist of objects
riskslist of objects
account_projectionslist of objects

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error