Billing & Invoice Settings
Admin → Settings → Billing
These settings control the lifecycle of invoices and orders — from the moment an invoice is created to the point a service is suspended or terminated for non-payment.
Invoice Numbering
| Setting | Description | Default |
|---|---|---|
| Invoice Prefix | Prepended to every invoice number | INV- |
| Starting Number | The integer Commerce counts from | 1 |
| Yearly Reset | Resets the counter to 1 on Jan 1 each year | Off |
Example with prefix INV-2026- and yearly reset on:
- First invoice of 2026:
INV-2026-0001 - First invoice of 2027:
INV-2027-0001
[!TIP] If you are migrating from WHMCS, set the starting number to one above your last WHMCS invoice number to avoid numbering gaps.
Payment Timing
| Setting | Description | Default |
|---|---|---|
| Due Date (days) | Days after invoice creation before it becomes overdue | 14 |
| Grace Period (days) | Days after the due date before the service is suspended | 3 |
| Termination Grace Period (days) | Days after suspension before the service is permanently terminated | 14 |
| Renewal Advance Window (days) | How many days before next_due_date the renewal invoice is auto-generated |
7 |
Example timeline with defaults
Day 0 → Renewal invoice generated (7 days before next_due_date)
Day 7 → next_due_date (service renews; invoice is now "due")
Day 21 → Invoice overdue (due date + 14 days)
Day 24 → Service suspended (overdue + 3-day grace)
Day 38 → Service terminated (suspended + 14-day termination grace)
[!WARNING] Termination is irreversible for provisioned services — the Opterius Panel account is deleted. Ensure your termination grace period gives clients enough time to respond to suspension notices.
Order Behaviour
| Setting | Description | Default |
|---|---|---|
| Auto-Approve Orders | Automatically approve and provision paid orders without staff review | Off |
| Require Upgrade Approval | Hold service upgrade requests for staff review before applying | Off |
When Auto-Approve Orders is off, every new paid order sits in the Pending queue under Admin → Orders until a staff member approves it. Enable it only if you trust your fraud signals or use a pre-payment gateway (Stripe charges before approval).
[!IMPORTANT] If you enable Auto-Approve, ensure your payment gateway webhook is working correctly. Commerce provisions accounts only after a confirmed payment event — not after order creation.