Normalize invoice number
normalize_invoice_numberNormalizes raw invoice numbers by stripping punctuation, uppercasing, and removing common prefixes, so variants like 'INV123' and '#INV123' match for duplicate detection.
Instructions
Normalize an invoice number for duplicate detection: strips punctuation, uppercases, and drops common prefixes so 'INV123', '#INV123', and 'NV123' collide to the same canonical form.
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": {
"number": "<number>"
},
"name": "normalize_invoice_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | A raw invoice number as printed by the vendor. |