Developer Docs
Prosaic is the headless ledger for New Zealand and Australia: double-entry accounting as an API, with GST built in, that your customers' accountants can work in directly. Embed a ledger in your product, connect to accounting firms with an OAuth app, or automate with extensions.
Building with an AI assistant? Point it at llms.txt, or see Build with AI.
Getting started
Ledger
Embedded ledger
Run your customers' books on Prosaic: a platform workspace, one entity per customer, and their accountant working alongside.
Journals
Post balanced journals with account codes and tax rates, handle GST, keep drafts for review, void and attach files.
Chart of accounts
Templates, an entity's own accounts, system accounts, and adding or changing accounts.
Reports
Trial balance, profit and loss, balance sheet, general ledger, current accounts and depreciation schedule.
Tax in NZ and AU
GST tax codes for New Zealand and Australia, GST registration on entities, and reading NZ GST returns.
SDK
OAuth apps
Extensions
Extensions overview
What extensions are, when to write one, and where to start — creating one, or using one in a workspace.
Extensions quickstart
From zero to a deployed extension, running on a real journal, in about five minutes.
Using extensions
Install, connect, run, pause, update and remove an extension in a Prosaic workspace — who can do each, and where runs show up.
Manifest reference
Every field in prosaic.extension.toml — scopes, triggers, connections, validation.
Sandbox API
The prosaic.* global — every method your extension can call.
Triggers
Events, cron, and action links — with handler recipes for each.
Testing and deploy
The CLI workflow — validate, dev, deploy, logs, and how versioning works.
Examples
Worked examples — copy, tweak, deploy.
Build with an LLM
Let Claude, Cursor, or ChatGPT scaffold your extension from a sentence.
