wafeq_invoices_update
Update an existing invoice by modifying its details like contact, line items, dates, currency, and status. Correct errors or adjust billing information through the Wafeq API.
Instructions
๐ก WRITE ยท updates data ยท Invoices ยท PUT /invoices/{id}/
Update invoice
Endpoint for updating an existing invoice.
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": {
"id": "<id>",
"body": "<body>"
},
"name": "wafeq_invoices_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | Yes | Adds nested create feature | |
| idempotency_key | No | Optional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well. |