tool/salarysacrifice/calculate

Extra salary sacrifice calculations to the ones done in tool/forecast

Source:
Since:
  • 0.1.0

Methods

(inner) calculate(skv_config, arr_tax_charges, arr_tax_company_vehicle) → {array}

Source:

Determine what the tax years calcutions will be with and without the salary sacrifice

Parameters:
Name Type Description
skv_config struct
arr_tax_charges array
arr_tax_company_vehicle array
Returns:
Type
array

(inner) calculateEmployerBreakEvenPoint(skv_config, arr_tax_charges, arr_tax_company_vehicle) → {array}

Source:

Calculates what the salary sacrifice needs to be in order for the employer to have no difference

Parameters:
Name Type Description
skv_config struct
arr_tax_charges array

income tax, nic rates for the period retrieved from pluto

arr_tax_company_vehicle array

vehicle benefit, co2 percentage charge for the period retrieved from pluto

Returns:

Tax years with extra salary sacrifice info

Type
array

(inner) getDifference(param_name) → {data_type}

Source:

Description

Parameters:
Name Type Description
param_name data_type

Description

Returns:

Description

Type
data_type