Bookkeeping

Delete an asset

books_delete_asset · Deletes data · Markdown

Takes an asset registered by mistake out of the register; the books don't change.

Free

This tool costs nothing to call.

An example

The van is in the register twice; take out the second one.

Your agent callsbooks_delete_assetFree

The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.

With these arguments
{
  "asset": "FA-0002"
}
What comes back
{
  "deleted": "FA-0002"
}

Use it when

An asset was registered twice or by mistake and none of its depreciation is booked.

What it does

Take an asset registered by mistake out of the register. Only while none of its depreciation is booked and it is not sold or written off: else undo its depreciation first (books_depreciate undo_after with asset). The books don't change.

What comes back

deleted: its number. Every reply also carries cost_usd and balance_usd.

Inputs

NameTypeWhat it is
assetRequiredstringThe asset's number, like "FA-0001" (books_list_assets). 1 to 20 characters.

The call

Over MCP, call books_delete_asset on https://api.conecto.chat/mcp/books. Over REST:

Terminal
curl -X POST https://api.conecto.chat/v1/tools/books_delete_asset \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset":"FA-0002"}'

When it refuses

A refused call costs nothing and says what to do next.

CodeWhenWhat to do
no_books409The business keeps no books yet.Set them up with books_setup (base currency, start date).
not_found404No asset has that number.List them with books_list_assets.
has_depreciation409Its depreciation is booked, or it was sold or written off.Undo its depreciation with books_depreciate undo_after and asset first.

Give this to your agent.

Set up Conecto from https://conecto.chat/SKILL.md