Sell or write off an asset
Sells or writes off a fixed asset, like Xero's dispose: depreciation to the day it goes, then its cost, the price and the gain or loss.
$0.01 a call
From your agent’s balance. A call that fails costs nothing.
An example
We sold the service van for 33,000 euros on October 12; the money is in the bank.
Your agent callsbooks_dispose_asset$0.01 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.
{
"asset": "FA-0001",
"date": "2026-10-12",
"price": "33000",
"paid_to": "1010"
}Use it when
An asset is sold, scrapped, stolen or given away; or a disposal was booked by mistake (undo).
- For invoicing the buyer, with VAT, use
invoices_create.
What it does
Take an asset out of the books, sold or written off, like Xero's dispose. Its depreciation is booked through the month it goes first (to the day with actual_days; what was booked for later months is undone), then one entry takes its cost and accumulated depreciation out, books price to paid_to and the difference as a gain or a loss on gain_account (made as 4950 Gains and losses on assets sold when missing). paid_to is the bank account the money went to, or the income account the invoice to the buyer booked it to, which this then clears. A write-off has no price. undo: true brings it back.
What comes back
asset: as books_list_assets shows it, now with disposed_on, price, gain_or_loss and the disposal entry; with undo, the reversal too. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
assetRequired | string | The asset's number, like "FA-0001" (books_list_assets). 1 to 20 characters. |
date | string | YYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$. |
price | number or string | What it sold for before tax. Default 0, a write-off. Up to 24 characters. |
paid_to | string | Where the price went, e.g. "1010". 1 to 20 characters. |
gain_account | string | An account code from the chart, e.g. "6600". 1 to 20 characters. |
catch_up | boolean | Default: false. |
undo | boolean | Bring a sold or written off asset back. |
The call
Over MCP, call books_dispose_asset on https://api.conecto.chat/mcp/books. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/books_dispose_asset \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"asset":"FA-0001","date":"2026-10-12","price":"33000","paid_to":"1010"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
no_books409 | The business keeps no books yet. | Set them up with books_setup (base currency, start date). |
archived409 | The account or tax is archived. | Use another one, or un-archive it with books_save_accounts. |
invalid_input400 | No date; the date is before it was bought or after today; a price has no paid_to, or paid_to is the asset's own account; gain_account is not an income or expense account; or undo for an asset that is not sold. | Fix what the message names. |
not_found404 | No asset has that number, or no account that code. | Check books_list_assets and books_list_accounts. |
period_locked409 | The date, or a month of depreciation before it, falls in a locked period. | Pass catch_up for the months, or unlock with books_lock. |
asset_disposed409 | It was sold or written off already. | Undo that first with undo: true. |
More Bookkeeping tools
All 33 tools- Set up the books
books_setupStarts the business's double-entry books (currency, start date, chart of accounts) or changes their settings.$0.001 a call - 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
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md