Invoice number
invoice-numberFormats PREFIX-YYYYMM-NNNNN-C with a Luhn check digit, or validates one. Returns { invoice } when formatting, or { valid } when validating. Price: 1 credit (1 credit = 1 CAD cent) per successful call; input that does not match the schema is rejected before billing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "invoice-number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Two to six upper-case letters. | HIC |
| yyyymm | No | Year and month as YYYYMM; defaults to the current UTC month. | |
| sequence | No | Invoice sequence number. Required unless validate is given. | |
| validate | No | An invoice number to check instead of formatting one; when given, the other fields are ignored. |