How to manage billing cycles
Club Admin · Bahasa Melayu below
A billing cycle is one automated run of invoice generation (typically monthly). AAU Club Manager tracks each cycle for audit and lets you manually re-run one if it failed or you need to backfill.
View cycles
- Sidebar → Billing → Cycles (
/billing/cycles/) - See a list of every monthly cycle AAU Club Manager has attempted: - Month + year - Status (Success / Failed / In Progress / Skipped) - Invoices generated count - Total invoiced value
Manually run a cycle
Use when auto-cron failed or you're catching up after fixing a config:
- Cycles → Generate Cycle
- Pick month + year
- Optional filters: categories, trainees
- Preview — shows how many invoices will be created
- Confirm — AAU Club Manager generates and marks the cycle as Complete
Toggle a cycle
- Cycle detail → Toggle — enable/disable auto-generation for that cycle
- Useful if you want to skip a month (e.g. school holidays) without editing global settings
Cycle failures
If a cycle status shows Failed:
- Cycle detail shows the error (usually a fee config issue or a missing category link)
- Fix the root cause → click Retry on the cycle
- Any invoices already generated in the failed attempt are not duplicated
Schedule
- Auto-cron runs on your Billing cutoff day (see Billing settings)
- AAU Club Manager logs each cron run in the cycle table; if the row is missing for the expected date, the cron didn't fire — check server logs.
Cara urus billing cycles
Cycle = satu run auto-generate invois (biasanya bulanan).
Lihat
Menu sisi → Billing → Cycles — status setiap bulan (Success / Failed / Skipped / In Progress) + bilangan invois.
Manual run
- Cycles → Generate Cycle
- Pilih bulan + tahun
- Filter (kategori, pelatih)
- Preview → Confirm
Toggle
Cycle detail → Toggle — enable/disable satu cycle.
Gagal?
Detail cycle tunjuk error → fix punca → Retry.
Schedule
Auto-cron pada Billing cutoff day. Baris cycle hilang = cron tak jalan (check log server).