Next invoice number
next_invoice_numberSuggests the next invoice number based on the last used number, preserving prefix and zero padding so invoice sequences stay consistent.
Instructions
Suggests the next invoice number, keeping prefix and zero padding: INV-2026-0042 → INV-2026-0043.
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": {
"previous": "<previous>"
},
"name": "next_invoice_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| previous | Yes | The last invoice number used |