Published package / CLIR

nz.wff_tax_credits

v0.1.0

Income 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

Outcomes are pinned in the consumer gate manifest; the gate must reproduce them.

Target languages

print this plangopyts

refuse this plan · 13
  • bsl версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • cs версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • dart версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • erl версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • ex версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • java версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • kt версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • lua версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • php версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • rb версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • rs версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • scala версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU
  • swift версия плана не поддержана эмиттером: 'law-backend-plan/0.18' (поддержана law-backend-plan/0.7)RU

Print the module from a repository checkout

./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

NameParametersMeaningReadsSources
abating_wff_tax_credittext, text, moneysection MD 1(1), (2). The abating WFF tax credit for the entitlement periodaged_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_periodarticle/MD-1
best_start_credit_abatementtext, text, moneysection MG 3(1). The person's Best Start credit abatement for the entitlement periodbest_start_abatement_days_not_reduceddays_in_entitlement_periodfamily_scheme_incomepartner_family_scheme_incomepartner_statusarticle/MG-3
best_start_tax_credittext, text, text, moneysection MG 1(2)-(3). The Best Start tax credit after abatementaged_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_dayarticle/MG-1article/MA-4
entitled_to_abating_wff_tax_credittext, textsections MC 2, MD 1(1). The person is entitled to an abating WFF tax creditaged_16_or_olderchild_meets_residence_requirementsentitlement_period_ofperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayreceives_parents_allowance_or_childrens_pensionarticle/MC-2article/MD-1
entitled_to_best_start_tax_credittext, text, textsection MG 1(1). The person is entitled to the Best Start tax credit for the entitlement period for the dependent childaged_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_dayarticle/MG-1
entitled_to_in_work_tax_credittext, textsection MD 4(1). The person is entitled to an in-work tax creditaged_16_or_olderchild_financially_dependententitlement_period_ofexcluding_benefit_statusnormally_an_earner_deriving_incomeperson_meets_residence_requirementsprincipal_caregiver_ofarticle/MD-4
excluded_from_abating_wff_tax_credittext, textsection MC 6(a). Despite sections MC 3 to MC 5, the person does not qualify for an abating WFF tax creditentitlement_period_ofreceives_parents_allowance_or_childrens_pensionarticle/MC-6
family_credit_abatementtext, text, moneysection MD 13(2). The family credit abatement for the entitlement perioddays_in_entitlement_periodfamily_scheme_incomepartner_family_scheme_incomepartner_statusarticle/MD-13
family_tax_credittext, text, moneysection MD 3(2). The family tax credit for the entitlement periodaged_16_or_olderchild_meets_residence_requirementsdays_in_entitlement_perioddependent_children_countentitlement_period_ofperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayarticle/MD-3
family_tax_credit_after_abatementtext, text, moneysections MD 2(2)(c)(i), MA 4. The family tax credit after the abatement has been applied to it firstaged_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_dayarticle/MD-2article/MA-4
in_work_tax_credittext, text, moneysection MD 10(2). The in-work tax credit for the entitlement periodaged_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_periodarticle/MD-10
in_work_tax_credit_after_abatementtext, text, moneysections MD 2(2)(c)(ii), MA 4. The in-work tax credit after the remaining abatement has been applied to it secondaged_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_periodarticle/MD-2article/MA-4
minimum_family_tax_credittext, text, moneysection ME 1. The minimum family tax credit for the entitlement periodaged_16_or_olderchild_meets_residence_requirementsentitlement_period_ofnet_family_scheme_incomeperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayweekly_periods_as_full_time_earnerarticle/ME-1article/MA-4
qualifies_under_family_schemetext, textsection MC 2. The person qualifies for an entitlement under the family schemeaged_16_or_olderchild_meets_residence_requirementsentitlement_period_ofperson_meets_residence_requirementsprincipal_caregiver_ofqualifying_criteria_met_each_dayarticle/MC-2article/MC-8

Inputs · 24

NameParametersMeaning
aged_16_or_oldertext, textsections MC 3, MD 5. The person is 16 or older
best_start_abatement_days_not_reducedtext, textsection 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_confirmedtext, textsections 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_dependenttext, text, textsection MD 6(1). The child for whom the person is the principal caregiver is financially dependent on them
child_meets_residence_requirementstext, textsections 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_credittext, text, decsection MD 10(3)(c)(ii). The number of children for whom the person is allowed the in-work tax credit
days_in_entitlement_periodtext, decsection MD 3(5). Days is the number of days in the entitlement period
dependent_child_aged_under_threetext, textsection MG 1(1)(c). The dependent child is aged less than 3 years old during the entitlement period
dependent_child_date_of_birthtext, datesection MG 1(1)(d). The dependent child's date of birth
dependent_child_expected_due_datetext, datesection 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_counttext, text, decsection MD 3(4). The number of dependent children for whom the person is a principal caregiver during the entitlement period
entitlement_period_oftext, textthe entitlement period is an entitlement period of the person
excluding_benefit_statustext, text, enumsection 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_incometext, text, moneysubpart MB. The person's family scheme income for the relationship period containing the entitlement period
net_family_scheme_incometext, text, moneysection 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_incometext, textsection 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_incometext, text, moneysection MD 13(3)(a)(ii). The family scheme income of the person's spouse, civil union partner, or de facto partner
partner_statustext, text, enumsection MD 13(3)(a). Whether the person has a spouse, civil union partner, or de facto partner during the entitlement period
person_meets_residence_requirementstext, textsections 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_oftext, text, textsections MC 4, MD 3(4). The person is the principal caregiver for the dependent child during the entitlement period
qualifying_criteria_met_each_daytext, textsection MC 8(1)(a). The person meets the qualifying criteria on each day of the entitlement period
receives_parents_allowance_or_childrens_pensiontext, textsections 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_earnertext, text, decsection 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_periodtext, decsection 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