invoice_from_offer
Bill an accepted offer. Required: offer_id. The lines are COPIED, so a later edit of the offer cannot change what was billed, and the offer is marked accepted. An offer that already has an invoice refuses unless force=true. Optional: title, intro, due_days, payment_note.
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": {
"offer_id": "<offer_id>"
},
"name": "invoice_from_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | true bills the offer even if it already has an invoice | |
| intro | No | Introductory text printed above the positions | |
| title | No | Title of the invoice | |
| due_days | No | Payment term in days | |
| offer_id | Yes | ID of the offer | |
| payment_note | No | Payment information block (e.g. IBAN) printed on the invoice |