wafeq_credit_notes_line_items_update
Update an existing credit note line item in Wafeq by changing its account, quantity, description, or unit amount. Adjust discounts, taxes, and custom fields to keep financial records accurate.
Instructions
๐ก WRITE ยท updates data ยท Credit Note Line Items ยท PUT /credit-notes/{credit_note_id}/line-items/{id}/
Update credit note line item
Endpoint for updating an existing credit note 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``. | |
| credit_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. |