Change a customer payment on Zoho Books
payments_updateChange one customer payment of a Zoho Books organisation - one payments_list answers with party customer - by Zoho's own names, and answer it whole. Only what the change names changes: the customer stays, and the rest goes back as read; an invoice named by its invoice_id takes the amount_applied given, one not named stays as it was, and one the payment does not yet settle is added. One whose answer never came is written where the payment reads holding the change, and not_written where it does not. On Zoho Books the organisation's own workflow rules in Zoho may still email on any write. A FreeAgent company or Xero organisation is refused before anything is sent, the refusal saying where that program does it. A company set to read only refuses it before its program is asked, and so do words that screen as a prompt attack. outcome is written with the record; not_written with reason and, where its program refused it, what it said; or unknown where its answer never came and reading the books back could not tell, found naming every identical new record where two were made and none where that read itself failed. A write whose answer never came is settled by reading the books back, never sent again. Where the screening holds back its program's words in the answer, the outcome and each record's id stand, marked withheld with why.
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": {
"company": "<company>",
"payment": "<payment>",
"changes": "<changes>"
},
"name": "payments_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| company | Yes | The id companies_list gives the company. | |
| payment | Yes | The customer payment's id, as payments_list answers one with party customer. |