wafeq_simplified_invoices_create
Create simplified invoices with line items, currency, and payment account. Set draft or paid status, and use an idempotency key to avoid duplicate records on retry.
Instructions
๐ก WRITE ยท creates data ยท Simplified Invoices ยท POST /simplified-invoices/
Create simplified invoice
Endpoint for creating a new simplified invoice.
Not idempotent โ calling twice creates two records. Pass idempotency_key (or let the server generate one) to make a retry safe.
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": {
"body": "<body>"
},
"name": "wafeq_simplified_invoices_create"
}
}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. |