wafeq_debit_notes_line_items_partial_update
Partially update an existing debit note line item by modifying only selected fields, such as item, quantity, unit amount, account, or tax rate, while leaving other data unchanged.
Instructions
๐ก WRITE ยท updates data ยท Debit Note Line Items ยท PATCH /debit-notes/{debit_note_id}/line-items/{id}/
Partial update debit note line item
Endpoint for partially updating an existing debit note line item.
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": {
"debit_note_id": "<debit_note_id>",
"id": "<id>"
},
"name": "wafeq_debit_notes_line_items_partial_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | Augment ``custom_fields`` in the output with computed CALCULATED field values. Apply to any line-item serializer whose model has ``get_resolved_custom_fields``. | |
| debit_note_id | Yes | ||
| 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. |