Bistone HMS allows you to design your own invoice/reservation codes with custom prefixes, dates, and sequence numbers.
Where to find it: Go to Settings -> Code. Select Reservation Code and click Edit to open the Edit Code Mask dialog.
1. Generating Method
Choose how the system creates the code:
- Automatically Generate: Created instantly upon booking. Read-only.
- Automatically Generate And Can Edit: Created instantly, but staff can manually change it later.
- Generate After Saving: Generated only after the reservation is finalized.
- Not Generate: Staff must type the code manually.
2. Parts & Tokens (Part 1, 2, 3)
You can combine up to 3 parts. Each part can be a date token, a sequence number, or custom text.
| Token | Description & Output Example |
|---|---|
| Customizing | Any fixed text (e.g., "INV-", "HMS"). |
| yy / yyyy | Year. (e.g., 26 or 2026) |
| yymm / yyyymm | Year and Month. (e.g., 2606 or 202606) |
| yymmdd / yyyymmdd | Full Date. (e.g., 260615 or 20260615) |
| Sequence No | 1, 2, 3... (No fixed length) |
| SN 2D ~ SN 8D | Fixed-length sequence with leading zeros. (e.g., 5D: 00001) |
| [None] | Leave this part blank. |
3. SN Reset (Sequence Reset)
This controls when your sequence numbers start over from 1.
| Option | Behavior | Best For |
|---|---|---|
| Never (Default) | Sequence continues forever (1, 2, 3...). | Hotels that want one continuous running ledger. |
| Daily | Resets to 1 at midnight. | Hotels using date in the code (e.g., 202610240001). |
| Monthly | Resets to 1 on the 1st of every month. | Accounting periods that run by month. |
| Yearly | Resets to 1 on Jan 1st every year. | Annual auditing (e.g., INV-2026-0045). |
4. Real-World Examples
Default System Format:
Part 1: [None]
Part 2: yymmdd
Part 3: SN 5D (00000)
Result: 26102400001
Part 1: [None]
Part 2: yymmdd
Part 3: SN 5D (00000)
Result: 26102400001
Custom Prefix + Yearly Reset:
Part 1: Customizing ("INV-")
Part 2: yyyy
Part 3: SN 4D (0000)
Reset: Yearly
Result: INV-20260045
Part 1: Customizing ("INV-")
Part 2: yyyy
Part 3: SN 4D (0000)
Reset: Yearly
Result: INV-20260045
