How do I configure the system to apply a custom leave liability calculation?

This feature is available on the Premier and Master payroll edition.
Step 1: Create and define the "Company Leave Provision Current Balance" component.
Step 2: Link the above component to "the component that governs leave liability calculation for this bucket:" advanced option of the relevant leave bucket.
Navigate > Configuration > Human Resources > Leave Administration > Leave Scheme Parameters > advanced options
Step 3: Add the component to the employee's Recurring Payroll Components screen.
Navigate > Employee > Payroll Processing > Recurring Payroll Components > Notes

The system will apply the formula defined in Step 1 (Basic Pay - Other Allowance Taxable = R 30000.00 - R 15000.00) on the employee's Leave Balances screen.
Navigate > Employee > Leave > Balances