Set when a customer will pay
Notes the day a customer says they will pay an invoice, so the cash flow forecast counts the money then, even when the invoice is overdue.
Free
This tool costs nothing to call.
An example
Hotel Elbblick says they will pay INV-0042 on the 30th. Count it in the forecast for that day.
Your agent callsinvoices_set_expected_dateFree
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"invoice_id": "2d9c4e7b-1a3f-4c5d-8e6f-0b1a2c3d4e5f",
"date": "2026-10-30"
}Use it when
A customer promises a payment date, or says when a late invoice will be paid.
- For chasing the payment, use
invoices_remind.
What it does
The day a customer said they would pay an invoice that is sent and not paid yet, like Xero's expected date: the cash flow forecast (books_report cash_forecast) counts the invoice on that day, even one already overdue, which it otherwise leaves out. null clears it.
What comes back
invoice: the invoice with its expected_date (null when cleared). Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
invoice_idRequired | string | The invoice_id invoices_create returned (quotes and credit notes have one too). Exactly 36 characters. |
dateRequired | string or null | YYYY-MM-DD, or null to go back to the default. Matches ^\d{4}-\d{2}-\d{2}$. |
The call
Over MCP, call invoices_set_expected_date on https://api.conecto.chat/mcp/invoices. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/invoices_set_expected_date \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"invoice_id":"2d9c4e7b-1a3f-4c5d-8e6f-0b1a2c3d4e5f","date":"2026-10-30"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No quote or invoice of the business has that invoice_id. | Find it with invoices_list and use its invoice_id. |
not_owed409 | The invoice is a draft, paid or void, or it is a quote, so nobody owes it. | Give the date to a sent invoice that is not paid yet. |
invalid_input400 | The date is not valid. | Send it like 2026-10-30, or null to clear it. |
More Invoices tools
All 24 tools- Set the business details
invoices_set_profileSets the business details on quotes and invoices: name, country, address, tax ID, logo, terms, tax, numbering, how to pay and legal notes.$0.001 a call - Get the business details
invoices_get_profileThe business details on quotes and invoices, the next numbers, and what is missing before documents can be sent.Free* - Connect Stripe for invoices
invoices_connect_stripeConnects the business's own Stripe account with a restricted key, so invoices can be paid online; the money goes straight to the business.$0.001 a call - Create a quote or invoice
invoices_createCreates a draft quote or invoice: the customer, the lines, the currency and the dates.$0.01 a call - Change a draft
invoices_updateChanges a draft quote or invoice; customer and lines replace the old ones.$0.01 a call - Send a quote or invoice
invoices_sendSends a draft: it gets the next number, its PDF is made, and the customer is emailed a link to view, pay or accept it.$0.10 a call - Get a quote or invoice
invoices_getOne quote or invoice in full, by invoice_id or number: lines, totals, taxes, payments, history, its page and a fresh PDF link.Free* - List quotes and invoices
invoices_listQuotes and invoices, newest first, by kind, status (also overdue, unpaid and expired), customer and issue date.Free*
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md