wafeq_bills_create
Create a new vendor bill with line items, due date, and currency in Wafeq. Use it to record accounts payable and supply an idempotency key to prevent duplicate records on retry.
Instructions
๐ก WRITE ยท creates data ยท Bills ยท POST /bills/
Create bill
Endpoint for creating a new bill.
Not idempotent โ calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |