Rapu Ture - Exploring the Rules

The entitlement a person has under the family scheme

Family Scheme Float Month Person Formula Included

Value type Float . Default value 0 Entity person


How is this calculated?

To calculate this variable, the following input is used


Formulas

This is the formula used to calculate the value of family_scheme__working_for_families_entitlement

0001-01-01

This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas

def formula(persons, period, parameters):
    family_tax_credit = persons('family_scheme__family_tax_credit_entitlement', period)
    in_work_tax_credit = persons('family_scheme__in_work_tax_credit_entitlement', period)
    child_tax_credit = persons('family_scheme__child_tax_credit_entitlement', period)
    parental_tax_credit_entitlement = persons('family_scheme__parental_tax_credit_entitlement', period)
    credit_abatement = 5 * -1  # TODO need to insert abatement calculation
    return family_tax_credit + (in_work_tax_credit or child_tax_credit) + parental_tax_credit_entitlement + credit_abatement