Home / Billing and Invoicing / Pro-rata Billing

Pro-rata Billing

Prorated amounts mid-cycle

What it is

Pro-rata billing calculates a prorated amount when a client adds a service mid-cycle. For example, if the billing cycle is monthly and the client adds hosting on the 15th, they pay for half the month.

How it works

calculateProrataAmount (or equivalent helper) computes the amount based on: full price, billing cycle, days remaining in the cycle, and the configured due day (e.g. 1st of each month). Settings in Admin → Settings → Billing control whether pro-rata is enabled and how it is calculated.

Example

Monthly hosting at £10. Client adds on day 15 of a 30-day month. Pro-rata = £10 × (16/30) ≈ £5.33 for the remainder of the month.

How to set up

Go to Admin → Settings → Billing. Enable pro-rata, set due day.

Was this helpful?