Propose issuing an invoice
invoices_issue[Invoicing changes] Propose issuing an invoice (or a proforma). Simulated first; nothing is issued until the seller approves (asked in the conversation, confirmed with manage_action). After approval, get_action returns the series, number and the PDF link, which can be passed to orders_attach_invoice. Prices are WITH VAT unless vat_included is false. Sending it to SPV (e-Factura) is a separate step: invoices_send_efactura. Recording the payment: invoices_collect. Works on: Demo invoicing (sample data).
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": {
"client": "<client>",
"lines": "<lines>"
},
"name": "invoices_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| client | Yes | ||
| series | No | Series name; default is the one set on the account. | |
| account | No | Account id from list_accounts. Optional when only one account is connected. | |
| currency | No | ||
| doc_type | No | Default: invoice. | |
| due_date | No | YYYY-MM-DD | |
| language | No | ||
| mentions | No | ||
| issue_date | No | YYYY-MM-DD | |
| order_number | No | Marketplace order id; used to warn about a possible duplicate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||