wafeq_invoices_create
Create a new invoice in Wafeq with contact, line items, currency, and due dates. Use idempotency keys to prevent duplicate invoices on retries.
Instructions
🟡 WRITE · creates data · Invoices · POST /invoices/
Create invoice
Endpoint for creating a new invoice.
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. |