How the Invoice Number Generator Builds Numbers
AnyTool Invoice Number Generator builds professional invoice numbers entirely in the browser from a token template. The template can contain {PREFIX} (your prefix), {YYYY} (four-digit year), {YY} (two-digit year), {MM} (two-digit month), {DD} (two-digit day) and {SEQ} (the running sequence), with all other characters kept literally. Date tokens read the device clock. The sequence is zero-padded to a chosen width and starts at a chosen number, so the same scheme expresses sequential numbering (INV-{SEQ} → INV-1001), year-based numbering (INV-{YYYY}-{SEQ} → INV-2026-0001 or {YYYY}-{SEQ} → 2026-0001) and date-based numbering (INV-{YYYY}{MM}{DD}-{SEQ} → INV-20260623-01). One-click presets cover the common formats and a live preview shows the next number as you change settings.
- Token template: {PREFIX}, {YYYY}, {YY}, {MM}, {DD}, {SEQ}; other text is literal
- Zero-padded sequence so INV-0001 sorts before INV-0010 in spreadsheets
- Presets for sequential, year-based and date-based schemes
- Date tokens come from the device clock; everything is computed client-side
- Configurable prefix, padding width and start number
