merit_create_invoice_from_sales_offer
Turn a Merit Aktiva sales offer into a sales invoice by providing its offer GUID. Returns the new invoice ID and number.
Instructions
Create a sales invoice from a Merit Aktiva sales offer (POST /api/v2/offer2inv). id is the offer GUID. Returns InvoiceId / InvoiceNo.
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": {
"id": "<id>"
},
"name": "merit_create_invoice_from_sales_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Offer GUID (required) |