wafeq_invoices_line_items_update
Update an existing invoice line item by specifying the invoice ID, line item ID, and revised values such as account, quantity, unit amount, description, tax rate, or discount.
Instructions
๐ก WRITE ยท updates data ยท Invoice Line Items ยท PUT /invoices/{invoice_id}/line-items/{id}/
Update invoice line item
Endpoint for updating an existing invoice line item.
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``. | |
| invoice_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. |