Set up the books
Starts the business's double-entry books (currency, start date, chart of accounts) or changes their settings.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Start our books in euros from January 1, with the standard chart of accounts.
Your agent callsbooks_setup$0.001 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"currency": "EUR",
"start_date": "2026-01-01",
"chart": "starter",
"fiscal_year_start": 1
}Use it when
The business wants books kept, or its fiscal year, payment accounts or exchange rates change.
What it does
Start the business's double-entry books, or change their settings. The first call needs currency (the base currency of every report; it can't change once something is booked) and makes the chart: "starter" (cash, bank, receivables, tax, equity, sales and common costs, numbered 1000-8000) or "minimal" (only the eight accounts the books post to on their own). The books start on start_date (default: the start of this fiscal year); enter what the business owned and owed that day as one entry against the opening balances account (3900), unpaid invoices and bills from before included. With post_invoices (default on), sent invoices and supplier bills, their payments and voids post on their own, those from start_date on right away. payment_accounts says where payments land per method, in and out (default: the bank account, cash in the cash account); rates are standing exchange rates for currencies the European Central Bank doesn't publish.
What comes back
books: the settings (currency, start date, fiscal year, locked period, roles, where payments land, taxes and counts), created, the accounts made, and posted_from_invoices: what was posted from invoices and bills sent before. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
currency | string | ISO 4217, e.g. "EUR". Matches ^[A-Za-z]{3}$. |
start_date | string | The first day the books cover. Matches ^\d{4}-\d{2}-\d{2}$. |
chart | string | Only on the first call. One of: starter,minimal. |
fiscal_year_start | integer | The month the fiscal year starts. Default 1 (January). 1 to 12. |
post_invoices | boolean | |
payment_accounts | object | Payment method -> account code, e.g. {"card": "1020"}; null goes back to the default. Methods: bank_transfer, card, cash, check, online, other. |
rates | object | Currency -> one unit of it in the base currency, e.g. {"AED": "0.2486"}; null removes one. Used instead of the ECB's rate. |
The call
Over MCP, call books_setup on https://api.conecto.chat/mcp/books. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/books_setup \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"currency":"EUR","start_date":"2026-01-01","chart":"starter","fiscal_year_start":1}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | The first call has no currency, the chart was given again, or a payment account is not an asset account. | Fix what the message names. |
currency_fixed409 | Entries are booked, so the base currency stays. | Keep the currency. |
start_fixed409 | Entries are booked, so the start date stays. | Keep the start date. |
period_locked409 | Invoices, bills or payments to post fall in a locked period. | Unlock it with books_lock, or leave post_invoices as it is. |
no_account409 | A bill line to post has no expense or asset account. | Give the bill line an account with purchasing_update_bill. |
not_found404 | No account, tax, entry or file of the books has that code, name or id. | Check the codes with books_list_accounts and the taxes with books_get. |
archived409 | The account or tax is archived. | Use another one, or un-archive it with books_save_accounts. |
More Bookkeeping tools
All 33 tools- Read the books' settings
books_getThe books' settings: currency, start date, fiscal year, locked period, roles, payment accounts, taxes, and what is waiting.Free* - List the chart of accounts
books_list_accountsEvery account with its code, type, role and balance on a day.Free* - Add or change accounts
books_save_accountsAdds accounts or changes them, matched by code: name, type, description, code, role or archived.$0.001 a call - Add or change a tax
books_save_taxAdds or changes a tax rate the books use (VAT, GST, sales tax), matched by name.$0.001 a call - Book an expense
books_record_expenseBooks a cost the business paid, with its tax split off and the receipt attached.$0.01 a call - Book a journal entry
books_record_entryBooks a journal entry of two or more balancing lines, for whatever the other tools do not cover.$0.01 a call - Attach a receipt
books_attach_receiptAttaches a receipt from the file store to an entry that has none.$0.01 a call - Reverse an entry
books_reverse_entryUndoes an entry by booking its mirror image; entries are never edited or deleted.$0.01 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md