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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | A raw invoice number as printed by the vendor. |