delivery_notes_convert
Convert a delivery note into a final invoice, mark the note as converted, and link both documents so billing data stays traceable.
Instructions
Convert a delivery note into a final invoice. Creates a new invoice with all delivery note data, marks the delivery note as converted, and establishes a link between the two documents. Returns both the new invoice and updated delivery 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": {
"uuid": "<uuid>"
},
"name": "delivery_notes_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | UUID of the delivery note to convert to an invoice | |
| dueDate | No | Override due date for the new invoice (default: delivery note due date, YYYY-MM-DD) | |
| companyId | No | Company UUID (overrides configured default) | |
| issueDate | No | Override issue date for the new invoice (default: today, YYYY-MM-DD) | |
| invoiceSeriesId | No | UUID of the invoice series to use (if different from delivery note series) |