Workspace
Read invoices and the books, log time as drafts, read goals, submit intake requests and see the approvals waiting for someone, from your own systems.
This is a published preview. Names and fields may still change before general availability; changes will be listed in the changelog.
The Workspace API reaches the rest of Agoo's work and finance: invoices and the other books, time logged on projects, goals, intake queues and approvals. Each operation answers to the same rules as the Console: a key or app sees only what its scopes, and the person it acts for, allow.
| Page | Operations | Scopes |
|---|---|---|
| Invoices | List and read invoices, and get one as a structured document | finance:read |
| Quotes, Bills, Budgets and Journals | List and read the rest of the books | finance:read |
| Time Logs | Read time logged on projects, and log time as drafts | time:read, time:write |
| Goals | Read goals and their key results | goals:read |
| Intake Requests | Submit a request to an intake queue | intake:write |
| Approvals | See what the person an app acts for may decide | approvals:read |
Like the rest of the API, these are on Pro and Enterprise in live mode and on every plan in test mode, where the books are synthetic and nothing reaches a real customer, payment provider or tax system.
People decide; the API reads and drafts
Some things in Agoo carry real-world consequences: issuing an invoice, posting to the books, approving, paying and closing a period. None of those can be done through the API, by a key, an app or an AI assistant. A person does them in Agoo, with their own authority, where they see the whole thing. The API reads, logs time as drafts and submits requests; it never moves money or makes a decision for someone.
How Workspace objects look
- IDs are TypeIDs, such as
finv_…for an invoice,fsbill_…for a supplier bill,jrnl_…for a journal,lent_…for a legal entity andwlog_…for a time log. - Amounts are whole minor units with their currency, such as
"total_minor": 1150000with"currency": "GHS"for GH₵11,500.00. - Dates and instants are never one pretending to be the other: a due date is
2026-12-28, a moment is2026-11-28T09:14:03Z. - States are named, never a yes-or-no "paid" or "done": an invoice's
lifecycle, a bill'sstate, a time log'sstate. Treat a state you don't know as not finished (see versioning). - Fields are added without notice, so ignore the ones you don't use.
Legal entities
An organisation can keep books for more than one legal entity, such as a company and its subsidiary. Every list of the books takes legal_entity_id (lent_…), needed only when the organisation has more than one. A key can be limited to some legal entities when it's made; outside them, a document doesn't exist for that key and returns not_found.
Keep a copy up to date
To copy the books or time into your own system and keep the copy current, take a snapshot and follow the change feed. The webhooks invoice.*, bill.* and journal.posted tell you as things happen.