Published package / CLIR
nz.wff_tax_credits
v0.1.0Income Tax Act 2007
A package can be printed as a standalone module in a general-purpose language that answers without the rules engine: an answer and its status, with no proof, hashes or canonical document. Everything on this page comes from the generation plan built with the index; the gallery computes nothing of its own.
Generation plan
The plan builds: the package can be printed as a module.
- plan format
- law-backend-plan/0.18
- capabilities
- defeasible, norm, param:a3, status:not_known, value:div_round
Checked against package scenarios
48 of 50 scenarios matched on ts, py, go
- refused · 2
- ошибка значения вне среза раннера: MISSING_PARAMETER_VALUERU
- answer statuses
- NEITHER 11 · TRUE_ONLY 35
- normative positions
- ACTIVE 1 · VIOLATED 1
Target languages
gopyts
refuse this plan · 13
bslверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUcsверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUdartверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUerlверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUexверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUjavaверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUktверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUluaверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUphpверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUrbверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUrsверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUscalaверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RUswiftверсия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
./law dev backend corpus/clir/nz-wff-tax-credits.lawir.json --target ts --target py --target go --out DIR
Module interface
Questions are public relations with a producing rule; inputs are the facts a question reads. Function names follow the language: ask_… in Python, ask.… in TypeScript, Ask… in Go.
Questions · 14
| Name | Parameters | Meaning | Reads | Sources |
|---|---|---|---|---|
| abating_wff_tax_credit | text, text, money | section MD 1(1), (2). The abating WFF tax credit for the entitlement period | aged_16_or_olderchild_financially_dependentchild_meets_residence_requirementschildren_allowed_in_work_tax_creditdays_in_entitlement_perioddependent_children_countentitlement_period_ofexcluding_benefit_statusfamily_scheme_incomenormally_an_earner_deriving_incomepartner_family_scheme_incomepartner_statusperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayreceives_parents_allowance_or_childrens_pensionweekly_periods_in_entitlement_period | article/MD-1 |
| best_start_credit_abatement | text, text, money | section MG 3(1). The person's Best Start credit abatement for the entitlement period | best_start_abatement_days_not_reduceddays_in_entitlement_periodfamily_scheme_incomepartner_family_scheme_incomepartner_status | article/MG-3 |
| best_start_tax_credit | text, text, text, money | section MG 1(2)-(3). The Best Start tax credit after abatement | aged_16_or_olderbest_start_abatement_days_not_reducedbest_start_full_care_confirmedchild_meets_residence_requirementsdays_in_entitlement_perioddependent_child_aged_under_threedependent_child_date_of_birthdependent_child_expected_due_dateentitlement_period_offamily_scheme_incomepartner_family_scheme_incomepartner_statusperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_day | article/MG-1article/MA-4 |
| entitled_to_abating_wff_tax_credit | text, text | sections MC 2, MD 1(1). The person is entitled to an abating WFF tax credit | aged_16_or_olderchild_meets_residence_requirementsentitlement_period_ofperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayreceives_parents_allowance_or_childrens_pension | article/MC-2article/MD-1 |
| entitled_to_best_start_tax_credit | text, text, text | section MG 1(1). The person is entitled to the Best Start tax credit for the entitlement period for the dependent child | aged_16_or_olderchild_meets_residence_requirementsdependent_child_aged_under_threedependent_child_date_of_birthdependent_child_expected_due_dateentitlement_period_ofperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_day | article/MG-1 |
| entitled_to_in_work_tax_credit | text, text | section MD 4(1). The person is entitled to an in-work tax credit | aged_16_or_olderchild_financially_dependententitlement_period_ofexcluding_benefit_statusnormally_an_earner_deriving_incomeperson_meets_residence_requirementsprincipal_caregiver_of | article/MD-4 |
| excluded_from_abating_wff_tax_credit | text, text | section MC 6(a). Despite sections MC 3 to MC 5, the person does not qualify for an abating WFF tax credit | entitlement_period_ofreceives_parents_allowance_or_childrens_pension | article/MC-6 |
| family_credit_abatement | text, text, money | section MD 13(2). The family credit abatement for the entitlement period | days_in_entitlement_periodfamily_scheme_incomepartner_family_scheme_incomepartner_status | article/MD-13 |
| family_tax_credit | text, text, money | section MD 3(2). The family tax credit for the entitlement period | aged_16_or_olderchild_meets_residence_requirementsdays_in_entitlement_perioddependent_children_countentitlement_period_ofperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_day | article/MD-3 |
| family_tax_credit_after_abatement | text, text, money | sections MD 2(2)(c)(i), MA 4. The family tax credit after the abatement has been applied to it first | aged_16_or_olderchild_meets_residence_requirementsdays_in_entitlement_perioddependent_children_countentitlement_period_offamily_scheme_incomepartner_family_scheme_incomepartner_statusperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_day | article/MD-2article/MA-4 |
| in_work_tax_credit | text, text, money | section MD 10(2). The in-work tax credit for the entitlement period | aged_16_or_olderchild_financially_dependentchildren_allowed_in_work_tax_creditentitlement_period_ofexcluding_benefit_statusnormally_an_earner_deriving_incomeperson_meets_residence_requirementsprincipal_caregiver_ofweekly_periods_in_entitlement_period | article/MD-10 |
| in_work_tax_credit_after_abatement | text, text, money | sections MD 2(2)(c)(ii), MA 4. The in-work tax credit after the remaining abatement has been applied to it second | aged_16_or_olderchild_financially_dependentchild_meets_residence_requirementschildren_allowed_in_work_tax_creditdays_in_entitlement_perioddependent_children_countentitlement_period_ofexcluding_benefit_statusfamily_scheme_incomenormally_an_earner_deriving_incomepartner_family_scheme_incomepartner_statusperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayweekly_periods_in_entitlement_period | article/MD-2article/MA-4 |
| minimum_family_tax_credit | text, text, money | section ME 1. The minimum family tax credit for the entitlement period | aged_16_or_olderchild_meets_residence_requirementsentitlement_period_ofnet_family_scheme_incomeperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayweekly_periods_as_full_time_earner | article/ME-1article/MA-4 |
| qualifies_under_family_scheme | text, text | section MC 2. The person qualifies for an entitlement under the family scheme | aged_16_or_olderchild_meets_residence_requirementsentitlement_period_ofperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_day | article/MC-2article/MC-8 |
Inputs · 24
| Name | Parameters | Meaning |
|---|---|---|
| aged_16_or_older | text, text | sections MC 3, MD 5. The person is 16 or older |
| best_start_abatement_days_not_reduced | text, text | section MG 3(2)(b). Neither exclusion applies for this person and period: no day is excluded because a dependent child was under 1 year old, and no calendar month is one in which the person received protected Best Start tax credit under section MG 4. The full days of the entitlement period apply to the abatement |
| best_start_full_care_confirmed | text, text | sections MG 2(3), MG 2(5). The dependent child did not die during the entitlement period, and was not in the exclusive care of another qualifying person for any part of it: the full days of the entitlement period apply without adjustment |
| child_financially_dependent | text, text, text | section MD 6(1). The child for whom the person is the principal caregiver is financially dependent on them |
| child_meets_residence_requirements | text, text | sections MC 5(3), MD 7(3). The child is both a New Zealand resident and present in New Zealand for the entitlement period |
| children_allowed_in_work_tax_credit | text, text, dec | section MD 10(3)(c)(ii). The number of children for whom the person is allowed the in-work tax credit |
| days_in_entitlement_period | text, dec | section MD 3(5). Days is the number of days in the entitlement period |
| dependent_child_aged_under_three | text, text | section MG 1(1)(c). The dependent child is aged less than 3 years old during the entitlement period |
| dependent_child_date_of_birth | text, date | section MG 1(1)(d). The dependent child's date of birth |
| dependent_child_expected_due_date | text, date | section MG 1(1)(d)(ii). The dependent child's expected due date, relevant only where the child was born before 1 July 2018 |
| dependent_children_count | text, text, dec | section MD 3(4). The number of dependent children for whom the person is a principal caregiver during the entitlement period |
| entitlement_period_of | text, text | the entitlement period is an entitlement period of the person |
| excluding_benefit_status | text, text, enum | section MD 8. Whether the person referred to in section MD 4 and their spouse, civil union partner, or de facto partner receive a main benefit, a basic grant and an independent circumstances grant, or a parent's allowance or children's pension |
| family_scheme_income | text, text, money | subpart MB. The person's family scheme income for the relationship period containing the entitlement period |
| net_family_scheme_income | text, text, money | section ME 1(3)(b). The net family scheme income for the relationship period containing the entitlement period, calculated under section ME 3 |
| normally_an_earner_deriving_income | text, text | section MD 9(1)(a). The person or their spouse, civil union partner, or de facto partner is normally an earner and derives income as set out in subsections (2) and (3) |
| partner_family_scheme_income | text, text, money | section MD 13(3)(a)(ii). The family scheme income of the person's spouse, civil union partner, or de facto partner |
| partner_status | text, text, enum | section MD 13(3)(a). Whether the person has a spouse, civil union partner, or de facto partner during the entitlement period |
| person_meets_residence_requirements | text, text | sections MC 5(2), MD 7(2). The person has been both a New Zealand resident and present in New Zealand for a continuous period of 12 months at any time, is resident under section YD 1 on the days for which the credit arises, and is not a transitional resident or the partner of one |
| principal_caregiver_of | text, text, text | sections MC 4, MD 3(4). The person is the principal caregiver for the dependent child during the entitlement period |
| qualifying_criteria_met_each_day | text, text | section MC 8(1)(a). The person meets the qualifying criteria on each day of the entitlement period |
| receives_parents_allowance_or_childrens_pension | text, text | sections MC 6(a), MC 6(b)(iii), MD 8(c). During the relationship period the person receives a parent's allowance continued by clause 3 of Schedule 1 of the Veterans' Support Act 2014 or a children's pension under section 72 or 75 of that Act |
| weekly_periods_as_full_time_earner | text, text, dec | section ME 1(3)(c). The number of periods of 1 week in the entitlement period for which the person is a full-time earner within the meaning of section ME 2 |
| weekly_periods_in_entitlement_period | text, dec | section MD 10(3)(d). The number of whole periods of 1 week in the entitlement period for which the person or their spouse or partner has income from the work activity |