Determines if a Person is classified as financially dependant
Income Tax Boolean DAY Person Formula Included used 2 timesValue type Boolean . Default value false Entity person
How is this calculated?
To calculate this variable, the following input is used
- Int age The age of a Person (in years)
- Date date_of_birth Birth date
Where is this used?
This variable is referred to by these other variables in their own calculations
- Float family_scheme__family_tax_credit_entitlement The family tax credit person is entitlement to under the family scheme
- Boolean family_scheme__has_dependent_children A family has one or more people who qualify as financially dependant children
Formulas
This is the formula used to calculate the value of income_tax__dependent_child
0001-01-01
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