Rapu Ture - Exploring the Rules

Determines if a Person is classified as financially dependant

Income Tax Boolean DAY Person Formula Included used 2 times

Value type Boolean . Default value false Entity person

How is this calculated?

To calculate this variable, the following input is used

Where is this used?

This variable is referred to by these other variables in their own calculations


This is the formula used to calculate the value of income_tax__dependent_child


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

def formula(person, period, parameters):
    # NOTE: using the age at the start of the month
    # Age changes on a DAY, but this calculation only has a granularity of MONTH
    age = person('age', period.start)
    # TODO - It's not this simple, this needs to be tweaked to include the edge criteria above.
    # not in a marriage, civil union, or de facto relationship
    # is or less than 15
    # or 16 and 17 and not financially independant
    # is 18 and many conditions (see act)
    return age <= 18