wafeq_bills_line_items_update
Update bill line item details directly: modify account, quantity, unit amount, description, tax, discount, or cost center for an existing bill entry.
Instructions
π‘ WRITE Β· updates data Β· Bill Line Items Β· PUT /bills/{bill_id}/line-items/{id}/
Update bill line item
Endpoint for updating an existing bill 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": {
"bill_id": "<bill_id>",
"id": "<id>",
"body": "<body>"
},
"name": "wafeq_bills_line_items_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | Yes | Augment ``custom_fields`` in the output with computed CALCULATED field values. Apply to any line-item serializer whose model has ``get_resolved_custom_fields``. | |
| bill_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. |