Change a bill's file, notes or due date
Adds a recorded bill's PDF if it has none, or changes its notes or due date; amounts and the PDF it has never change.
$0.01 a call
From your agent’s balance. A call that fails costs nothing.
An example
Nordstahl agreed we can pay their bill two weeks later, on November 27.
Your agent callspurchasing_update_bill$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.
{
"bill_id": "3c5e7a9b-1d2f-4a6c-8e0b-4d6f8a1c3e5b",
"due_date": "2026-11-27"
}Use it when
The supplier agreed to a later due date, or the PDF arrived later.
What it does
What can change on a recorded bill: its PDF while it has none (file_id), its notes, and its due date while it is owed. The PDF it has stays, as a received invoice is kept as it came, and its amounts never change: for either, void it and record it again.
What comes back
bill: the bill as it now is. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
bill_idRequired | string | The bill_id purchasing_create_bill returned. Exactly 36 characters. |
file_id | string or null | Exactly 36 characters. |
notes | string | Up to 5,000 characters. |
due_date | string | YYYY-MM-DD. Matches ^\d{4}-\d{2}-\d{2}$. |
The call
Over MCP, call purchasing_update_bill on https://api.conecto.chat/mcp/purchasing. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/purchasing_update_bill \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"bill_id":"3c5e7a9b-1d2f-4a6c-8e0b-4d6f8a1c3e5b","due_date":"2026-11-27"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No bill of the business has that bill_id. | Find it with purchasing_list_bills. |
not_found404 | The file is not in the store. | Upload it with files_upload first. |
invalid_input400 | Nothing to change was given, or the date is not valid. | Send file_id, notes or due_date. |
bill_paid409 | The bill is paid, so its due date no longer matters. | Nothing to change. |
bill_void409 | The bill is void. | Nothing to change. |
file_kept409 | The bill has a PDF, which stays: a received invoice is kept as it came. | If it is the wrong file, void the bill and record it again with the right one. |
More Purchasing tools
All 25 tools- Add or change a supplier
purchasing_save_supplierAdds a supplier or changes one: contact, email for orders, address, currency, payment terms and the book account their bills go to.$0.01 a call - List suppliers
purchasing_list_suppliersSuppliers by name, each with what is owed to them on open bills and how many orders are open.Free* - Say what a supplier sells
purchasing_save_supplier_itemsSays which Inventory items a supplier sells: their code, cost, pack size, minimum order, lead time and a fixed reorder quantity.$0.005 per item saved - List what suppliers sell
purchasing_list_supplier_itemsWhat suppliers sell: codes, costs, packs, minimums, lead times and the preferred supplier, for one supplier or one SKU.Free* - Draft reorders for low stock
purchasing_draft_reordersDrafts one purchase order per supplier for every item at or below its reorder point, counting what is already on order.$0.01 per draft order - Draft a purchase order
purchasing_create_orderDrafts a purchase order to a supplier: lines (with Inventory SKUs if you like), currency, delivery date and stock location.$0.01 a call - Change a draft order, or mark it sent
purchasing_update_orderChanges a draft order, or records it as sent without emailing it.$0.01 a call - Email a purchase order
purchasing_send_orderEmails an order to the supplier with a link to its PDF; a draft takes the next number first.$0.10 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md