Issue the invoice
invoice_issueIssues the invoice from the business's tariff and the reported work, only after the proof pack. Needs state PROOF_PACK. Never: Invent a price or skip the gate. Platform fee CHF 0.18 per accepted call: quote first, then send quote_id, mandate_token and idempotency_key.
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": {
"mandate_token": "<mandate_token>",
"flow_id": "<flow_id>"
},
"name": "invoice_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_id | Yes | The flow (job) id, which is also its chain id. | |
| quote_id | No | A valid quote for this capability (quote). | |
| mandate_token | Yes | The mandate token from mandate.create. | |
| idempotency_key | No | Required on every mutate and money call; a retry with the same key returns the same result and is not charged again. |