When creating a new product or service, you have the option to use a custom formula to calculate how rates are applied. This is useful if you have a more complex way of charging for products/services, or if you want your products/services to interact in some way with funding.
- Go to
> System Settings.
- Click on the Products and Services tab on the left.
- Click on the
button in the top right to create a new product/service. - Fill out the details of this product/service.
- Under Rate Type, select Automated Rates.
- Check As Per Formula.
Under Frequency, you can choose how often products/services are charged on invoices.
Weekly can be used for both actual and equally spread invoices. This will be charged each week for actuals and will use the sample week for equally spread to then calculate through the calculation factor.
Monthly can only be used for equally spread invoices. This will be charged once on the invoice and will not be calculated through the calculation factor.
If you choose Weekly, you'll have an additional option called Calculation Factor Per Formula. This is only relevant for equally spread invoices, where the calculation factor is used to determine the monthly cost of the product/service for the invoice. Which factor you should use depends on whether you want the product/service to be applicable to all the child's scheduled hours or only the funded hours.
The Invoice Calculation Factor is Weeks the Nursery is Open Per Year/Months the Nursery is Open Per Year.
The Funding Calculation Factor is nearly the same, except it uses funded weeks and months. Funded Weeks the Nursery is Open Per Year/Funded Months the Nursery is Open Per Year based on invoice settings.
[Values]
Type the formula into the text box. Entering [ will bring up a list of values that have been drawn from the system, which you can use in the formula. These are:
Weekly
Average Weekly Hourly Session Rate: The average hourly session rate per week.
Local Authority Term/Funding Rate: Local authority funding rates according to funding term settings.
Weekly Funded Hours: The child's funded hours per week.
Weekly Scheduled Hours: For actuals invoices, this takes the child's scheduled hours for the week the product/service is applied. Equally spread invoices will use the scheduled hours from the sample week.
Monthly
Local Authority Term/Funding Rate: Local authority funding rates according to funding term settings.
Monthly Funded Hours: The child's funded hours per month.
Monthly Scheduled Hours: The child's scheduled hours per month.
These values can be used in combination with mathematical modifiers (+-*/<>=) to create your own formula for calculating rates.
Here's a basic of example of how you might incorporate these values into a formula if you wanted to charge £10 per funded hour every week: 10 * [Weekly Funded Hours]
Functions
For more complex formulas, we provide the use of the MAX, MIN, FLOOR, CEIL, ABS, and IFS functions, which allow for a greater degree of versatility when calculating funding rates.
You can find out more about how each of these functions work, and how to use them in a formula, by going to
this article.