Pro-Rata Credits for Ended Services
Pro-Rata Credits for Ended Services
Overview
PracBill can automatically create pro-rata credits when services are terminated mid-billing period. This ensures customers are only charged for the time they actually used the service, with automatic credits applied for unused days.
Important: This feature works with PracBill's standard "bill in advance" model where invoices charge for the upcoming period.
What This Feature Does
When a service is ended during a billing period that was already billed, PracBill will automatically create a credit on the next invoice for the unused portion of that period.
How It Works
PracBill's standard billing model bills services in advance:
October invoice (dated Oct 1) charges for October service (Oct 1-31)
November invoice (dated Nov 1) charges for November service (Nov 1-30)
When a service ends mid-period:
Service was already charged - The customer was already billed for the full month when the previous invoice was created
Credit on next invoice - The next billing cycle detects the ended service and creates a credit for the unused days
No future charge - The ended service is not charged again on future invoices
Example: October Service Ending Mid-Month
Scenario:
Customer has a monthly internet service for $50/month
October invoice (dated Oct 1) charged $50 for October 1-31 ✅ (billed in advance)
Customer cancels service on October 8, 2025
November invoice is generated on Nov 1
What appears on the November invoice:
Pro-rata credit for service ended on 08/10/2025 -$37.10Calculation:
Service ended: Oct 8
Days unused: Oct 9-31 (23 days)
Credit: $50 × 23 days ÷ 31 days = -$37.10
Result: Customer receives a $37.10 credit on their November invoice for the unused October days.
Understanding "Bill in Advance"
Most PracBill departments use "bill in advance" (also called next_month=1):
Bill in Advance (Standard):
October invoice → Charges for October service
November invoice → Charges for November service
Service ends Oct 8 → Credit appears on November invoice (for unused Oct days)
This is why the credit appears on the next billing cycle after the service ends - it's crediting back the unused portion of what was already charged.
Example: Full Timeline
Setup:
Monthly internet service: $50/month
Billing day: 1st of each month
Bill in advance: ✅ Enabled (standard)
Timeline:
September 1 - Invoice generated
Charges: September service (Sep 1-30): $50
Customer pays: $50
October 1 - Invoice generated
Charges: October service (Oct 1-31): $50
Customer pays: $50
Service is active ✅
October 8 - Customer cancels service
Service end date set: Oct 8, 2025
Service was active: Oct 1-8 (8 days used)
Service was paid for: Oct 1-31 (but only 8 days used!)
November 1 - Invoice generated
Charges: No November service (service ended)
Credit: Pro-rata credit for Oct 9-31: -$37.10
Late fee (if October invoice unpaid): $15
Net amount: -$22.10 (customer receives refund)
Why the credit is on November invoice:
The October invoice already charged for the full month. When November invoice is generated, the system detects the service ended in October and creates a credit for the unused days.
How to Enable This Feature
This feature is configured at the department level and must be enabled by an administrator.
Steps to Enable
Navigate to Company → Departments
Select the department you want to configure
Scroll to the Billing Settings section
Find the checkbox labeled "Pro Rata Credit for Ended Services"
Check the box to enable
Click Save to apply the changes
How to Use This Feature
Once enabled, the feature works automatically:
End a service - When you need to terminate a service, set the "Date Ended" field on the service record to the last day of service
Generate invoices - Run your normal invoice batch creation process for the next billing cycle
Automatic credits - Services that ended during the previous billing period will:
Have a credit automatically added (for the unused days)
NOT be charged for the current period
Invoice Appearance
On the invoice, you'll see a credit line item:
Pro-rata credit for service ended on 08/10/2025 -$37.10The credit line item will clearly indicate:
The service end date in the description
Negative amounts (credit to the customer)
Calculation is automatic based on daily rate and unused days
Important Notes
Feature is off by default - You must explicitly enable this feature in department settings. If not enabled, services will be billed as usual without automatic credits.
Credit appears on NEXT invoice - Because services are billed in advance, the credit for unused days appears on the invoice following the one where the service was last charged.
Set correct end date - Set the "Date Ended" to the last day the customer had service, not the day after. For example:
Customer has service until Oct 8
Set Date Ended: Oct 8 (last day of service)
Credit will be for: Oct 9-31 (unused days)
Works with invoice re-save - If you regenerate or modify an invoice, the system will update the existing credit rather than creating duplicates.
Respects quantity - If a service has multiple units (quantity > 1), the credit is calculated correctly for all units.
Tax handled correctly - Credits include appropriate tax calculations, ensuring GST/tax reporting remains accurate.
Only for mid-period endings - Services that ended before the billing period are excluded from invoicing entirely (no charge, no credit needed).
Minimum spend not affected - The system correctly excludes credits when calculating minimum spend charges.
Frequently Asked Questions
Q: Why does the credit appear on the next invoice, not the same invoice as the charge?
A: PracBill bills services in advance. When a service ends mid-month, it was already charged on the previous invoice. The credit appears on the next invoice to refund the unused portion.
Q: What if I re-generate an invoice after enabling this feature?
A: The system will update the existing credit line item rather than creating duplicate credits.
Q: Does this work for all service types?
A: Yes, this works for any service in the engineering module that has recurring billing.
Q: Can I manually edit the credit amount?
A: The credit is automatically calculated and will be recalculated if you regenerate the invoice. Manual edits may be overwritten.
Q: What if the service ends on the last day of the billing period?
A: A minimal or zero credit will be created (representing zero or minimal unused days).
Q: What if a customer has multiple services and only one ends?
A: Only the ended service will receive a credit. Other active services will continue to be charged normally.
Q: Does this affect my financial reporting?
A: Yes, credits will appear as negative line items on invoices and will be reflected in revenue reports. This provides accurate revenue recognition for the actual service period.
Q: What happens to services that ended in previous months?
A: Only services that ended during the period being credited are included. Very old ended services are not retroactively credited.
Q: My customer was charged for October and the service ended October 8. Why is there no credit on the October invoice?
A: The October invoice was generated on October 1 (before the service ended). The credit will appear on the November invoice when the system detects the service ended during the October period.
Setting the Service End Date Correctly
Correct:
Customer last had service: October 8
Date Ended field: October 8, 2025
Credit will be for: October 9-31 (unused days)
Incorrect:
Setting Date Ended to October 9 (day after last service)
This would credit October 10-31 instead (one day less credit)
Rule of thumb: Set Date Ended to the last day the customer actually had service.
Related Settings
Other pro-rata billing options available in department settings:
Pro Rata As Service Item - Itemizes service billing with date ranges
Legacy Pro Rata Item - Uses older pro-rata calculation methods
These settings affect how new services that start mid-period are charged. The "Pro Rata Credit for Ended Services" setting specifically handles services that end mid-period.
Need Help?
If you need assistance with:
Enabling this feature for your department
Understanding how credits are calculated
Troubleshooting unexpected credit amounts
Understanding the timing of credits on invoices
Contact PracBill support or your system administrator.