Set an agreed due date
set_due_dateThe client and the person agreed on a later due date for a sent or late invoice. The sent invoice stays as printed; the date in force (agreedDueDate) moves, and with it pastDueDays. null goes back to the printed date. Goes into the thread.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document": "<document>",
"date": "<date>"
},
"name": "set_due_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| note | No | What was agreed, with whom. | |
| document | Yes | The document's id (from list_documents), or its number once sent, like INV-0007. |